Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 and eth1 -- same device?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tessmonsta
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2005
Posts: 114

PostPosted: Thu May 10, 2007 3:09 am    Post subject: eth0 and eth1 -- same device? Reply with quote

This one throws me. After a kernel update, my wireless networked ceased functioning. After trying more than a few things, I tracked down that my external wireless module (ipw2200) was conflicting with the new kernel module. emerge -C ipw2200, rebuild the kernel, restart, and no more error.

It seems that the card is working. I can scan the area and pick up all the hotspots I expect. I can open wifi-radar and associate with my network. I can even get an IP. Once I unplug the hardline ethernet and try to rely on the wireless, it's like I'm not connected to anything at all.

To make this more confusing, I pinged both addresses (hardline and wireless) from another box. Once the hardline is disconnected, *both* go dead. Wierd!
Back to top
View user's profile Send private message
Monkeh
Veteran
Veteran


Joined: 06 Aug 2005
Posts: 1656
Location: England

PostPosted: Thu May 10, 2007 3:58 am    Post subject: Reply with quote

That's probably because the default route is on the wired connection. Advice: Use wired or wireless, not both.
Back to top
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Thu May 10, 2007 6:18 am    Post subject: Reply with quote

You could try re remove the module and modprobe again it
_________________
www.gentoo.ro
Back to top
View user's profile Send private message
Thamuz
n00b
n00b


Joined: 15 Jul 2006
Posts: 8
Location: Catalonia

PostPosted: Thu May 10, 2007 9:38 am    Post subject: Reply with quote

I have the same problem than you and it's so confuding. When laptop starts i have both devices up, working with wired eth0 and i can ping both. Then if i stop eth0, the wireless eth1 remain up but i can't ping it. The if i put up again eth0 things remains equal. Not ping at any devices, but if i put down eth1 then eth0 starts working fine. Any idea?

The only warning i have when i try to put eth1 up is:

Code:
Warning: Driver for device eth1 has been compiled with version 22
of Wireless Extension, while this program supports up to version 20.
Some things may be broken...


Some config outputs:
Code:

Eddie thamuz # cat /etc/resolv.conf
# Generated by net-scripts for interface eth1
nameserver 192.168.1.1


Code:
Eddie thamuz # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

#modules_eth0=( "dhcpcd" )
modules=( "iwconfig" )

config_eth0=( "192.168.1.3 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default gw 192.168.1.1" )

config_METAL_WIFI=( "192.168.1.10 netmask 255.255.255.0 brd 192.168.1.255" )
routes_METAL_WIFI=( "default gw 192.168.1.1" )
#dns_servers_METAL_WIFI=( "192.168.1.1" )
key_METAL_WIFI="[1] WEPKEY key [1] enc open"
preferred_aps=( "METAL_WIFI" )


Code:
Eddie thamuz # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         Router          0.0.0.0         UG    0      0        0 eth0
default         Router          0.0.0.0         UG    2000   0        0 eth1



Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum