strange wireless problem that I don't understand
- From: zhengquan <zhang.zhengquan@xxxxxxxxx>
- Date: Sun, 29 Jun 2008 21:53:54 -0700 (PDT)
Hello,
My interfaces file looks like this
auto
lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.2.4
netmask 255.255.255.0
gateway 192.168.2.1
auto wlan0
iface wlan0 inet dhcp
1 I connect the net cable and boot the computer,
I have network connection, I can ping 192.168.2.1 and I can connect to
the internet.
2 I disconnect the net cable and sudo /etc/init.d/networking restart
the system tells me that it receives a dhcp offer and got ip
192.168.2.5 for wlan0(the wireless card). After this, I try to ping
192.168.2.1(the router), I got unreachable
message. and it shows that my ip is still 192.168.2.4(static ip of
eth0).
3 I sudo ifdown eth0
and everything is ok, I can ping 192.168.2.1 and I can connect to the
internect.
What confuses me is that why do I have to ifdown eth0 to change the
computer ip to the wireless ip?
Thanks.
Zhengquan
.
- Follow-Ups:
- Re: strange wireless problem that I don't understand
- From: Robert Heller
- Re: strange wireless problem that I don't understand
- From: Bill Marcum
- Re: strange wireless problem that I don't understand
- Prev by Date: Re: Which MTA/MDA?
- Next by Date: reason for assymetricity of upload vs download speeds
- Previous by thread: Re: The Tocquevillian philosophy
- Next by thread: Re: strange wireless problem that I don't understand
- Index(es):
Relevant Pages
|