[solved] Re: New with ADSL: please help with wired connection
Rodolfo Medina <rodolfo.medina@gmail.com> writes:
> Yesterday I received a Modem-Router for my brand new ADSL connection, which
> I've never used before (first old analogic modem, then usb stick with sim
> card in it), and it works fine in wifi mode but from Gnome Network Manager it
> seems I can't succesfully make work in `Wired' mode: in fact, if I turn off
> wifi, I have no connection left. Here's `ifconfig' output:
>
> # ifconfig
> bond0 Link encap:Ethernet HWaddr 72:2f:20:62:cf:b7
> UP BROADCAST RUNNING MASTER 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:0
> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
>
> eth0 Link encap:Ethernet HWaddr 00:23:8b:a2:6b:02
> inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::223:8bff:fea2:6b02/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:68 errors:0 dropped:1 overruns:0 frame:0
> TX packets:81 errors:0 dropped:0 overruns:0 carrier:3
> collisions:0 txqueuelen:1000
> RX bytes:10333 (10.0 KiB) TX bytes:10162 (9.9 KiB)
>
> 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:65536 Metric:1
> RX packets:9278 errors:0 dropped:0 overruns:0 frame:0
> TX packets:9278 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:762890 (745.0 KiB) TX bytes:762890 (745.0 KiB)
>
> wlan0 Link encap:Ethernet HWaddr 00:25:56:93:ee:30
> inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::225:56ff:fe93:ee30/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:6358 errors:0 dropped:0 overruns:0 frame:0
> TX packets:5546 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:5900303 (5.6 MiB) TX bytes:685774 (669.7 KiB)
>
> , where the last item, wlan0, is missing when wifi is off.
The problem was due to the presence of the `eth0' entry in
/etc/network/interfaces:
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
. Once eliminated that, the wired connection could be established.
Thanks,
Rodolfo
Reply to: