eth0: error fetching interface information: Device not found
I want Allowing VPN clients to access VPN server local network with debian
Quote:
What's this error? |
Did you try eth1?
|
Quote:
Yes but same problem! ifconfig eth1 Quote:
|
Did you removed or add any network device recently?
MAC address needs to be entered in the **_persistent-net.rules file for your interface which is in the /etc/udev/rules.d/ directory or similar,depends on the distro. (** are random numbers.) |
Quote:
|
Search for udev,it should be in /etc then find the rules.You're using Debian right?
|
Quote:
yes i using debian!! |
Quote:
yes i using debian!! |
Go here.You'll see that they say that there should be /etc/udev/rules.d/ in Debian.Try
Code:
whereis udev Code:
find / -name'70_persistent-net.rules' 2>errors.txt Code:
find /rules.d 2>errors.txt Code:
find /udev 2>errors.txt Anyway if you follow instructions on the link above you should be able to set things (if you find udev directory),if not,post back. |
Quote:
udev: errors.txt: find: /udev: No such file or directory |
Its not /udev.
Use this command find / -name udev You will find it in /etc. Also just paste output of "ifconfig" |
output ifconfig:
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:188 errors:0 dropped:0 overruns:0 frame:0 TX packets:188 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:42026 (41.0 KiB) TX bytes:42026 (41.0 KiB) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00 inet addr:10.23.213.1 P-t-P:10.23.213.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00 inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255. 255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 RX packets:87164 errors:0 dropped:0 overruns:0 frame:0 TX packets:102640 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9226555 (8.7 MiB) TX bytes:16398951 (15.6 MiB) venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00 inet addr:87.118.56.171 P-t-P:87.118.56.171 Bcast:0.0.0.0 Mask:255. 255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 venet0:1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00 inet addr:87.118.56.171 P-t-P:87.118.56.171 Bcast:0.0.0.0 Mask:255. 255.255.255 UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1 |
any ideas??
|
I Install the udev package
# apt-get install udev now i have /etc/udev/rules.d/ What's next step? |
As I said there shouldn't be
Quote:
Code:
/etc/udev/rules.d/010_netinterfaces.rules Code:
KERNEL="oldnameprefix*", SYSFS{address}=="MACaddress",NAME="newname" EDIT:Look at my post no.4. |
All times are GMT -5. The time now is 01:17 AM. |