eth0: error fetching interface information: Device not found

  • mohsen
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 20, 2009
  • Posts: 17
  • Status: Offline

Post February 27th, 2009, 12:30 pm

Quote:
ifconfig eth0 | grep inet | \
sed -e 's/.*:\([0-9\.]*\)[0-9]\{1,3\} .*:\([0-9\.]*\) .*:\([0-9\.]*\).*/push "route \10 \3"/g' \
>> /etc/openvpn/server.conf


eth0: error fetching interface information: Device not found

What's this error?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 27th, 2009, 12:30 pm

  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post February 27th, 2009, 5:30 pm

Run dmesg or it's equivalent to see if that's the correct name of the interface.
How do you know when a politician is lying? His mouth is moving.
  • mohsen
  • Novice
  • Novice
  • No Avatar
  • Joined: Feb 20, 2009
  • Posts: 17
  • Status: Offline

Post February 28th, 2009, 3:50 am

how is run it? i'm on debian
  • Don2007
  • Web Master
  • Web Master
  • No Avatar
  • Joined: Nov 21, 2006
  • Posts: 4924
  • Loc: NY
  • Status: Offline

Post February 28th, 2009, 6:37 am

dmesg | more
should give you a page by page output.
You could also try
dmesg | grep eth0
How do you know when a politician is lying? His mouth is moving.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 129 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.