eth0 + wlan0



Hi crew,

I've just subscribed to this list and I would like at first to thank all developers for their precious work! :)

Moreover I have a small problem and I wish if somebody can help me.

Objectives:
Use eth0 to connect to a specified NFS folder using a fix IP (connection to be established every time the cable is plugged)
AND
Use wlan0, in DHCP mode, to surf on Internet


Requisites:
Use only NetworkManager (if possible) to handle both connections.



Problem:
Every interface individually works, however if plug the cable (eth0), I cannot surf on Internet any more (it try to "surf" using the cable).


Can you help me please?

Here below some technical details.

Thank you very much,

giopas

---------------------

Environment:
1. Debian SID
2. 2.6.31-1-686
3. Gnome 2.28.2
4. NetworkManager 0.8


Configuration:
1. eth0 using a fix ip (192.168.2.2)
2. wlan0 using a DHCP


ifconfig
eth0      Link encap:Ethernet  HWaddr 00:11:2f:be:2a:2a 
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::211:2fff:febe:2a2a/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:157 errors:0 dropped:0 overruns:0 frame:0
          TX packets:821 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:66992 (65.4 KiB)  TX bytes:83128 (81.1 KiB)
          Interrupt:21 Base address:0xe400

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:164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13768 (13.4 KiB)  TX bytes:13768 (13.4 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:30:f1:f5:6f:cb 
          inet addr:192.168.1.40  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::230:f1ff:fef5:6fcb/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6673 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6624 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4617943 (4.4 MiB)  TX bytes:1570214 (1.4 MiB)

wmaster0  Link encap:UNSPEC  HWaddr 00-30-F1-F5-6F-CB-65-74-00-00-00-00-00-00-00-00 
          UP RUNNING  MTU:0  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:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


/etc/networks:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.2.2
netmask 255.255.2550


/etc/NetworkManager/nm-system-settings.conf
[main]
plugins=ifupdown,keyfile

no-auto-default=00:11:2f:be:2a:2a,

[ifupdown]
managed=false


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]