QUOTE(oshiri @ Nov 28 2006, 06:47 PM)
Yes.
So many networkcard? Please check using ifconfig or lspci and iwconfig.
Try use static ip rather than dhcp.
If you use dhcp, DNS will be forwarded by your router to your pc. That is why your nameserver in /etc/resolv.conf always changes.
You can use dhcp if you set DNS in your router similar to your ISP.
ex: streamyx
202.188.0.133
202.188.1.5
In order to use static ip, edit /etc/network/interfaces something like this.
ex:
Your router ip is = 192.168.1.1 (this is your gateway)
and the networkcard connected to that router is = eth0
Save and restart networking: # /etc/init.d/networking restart
And there's always the good "changing write permissions to the resolv.conf file" trick... Worked for me last time, even while using DCHP... But as problem solved already (and Static IP is also useful for port fowarding), lets just leave it at that... So many networkcard? Please check using ifconfig or lspci and iwconfig.
Try use static ip rather than dhcp.
If you use dhcp, DNS will be forwarded by your router to your pc. That is why your nameserver in /etc/resolv.conf always changes.
You can use dhcp if you set DNS in your router similar to your ISP.
ex: streamyx
202.188.0.133
202.188.1.5
In order to use static ip, edit /etc/network/interfaces something like this.
ex:
Your router ip is = 192.168.1.1 (this is your gateway)
and the networkcard connected to that router is = eth0
CODE
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
iface eth1 inet static
address 10.1.1.1
netmask 255.255.255.0
network 10.1.1.0
broadcast 10.1.1.255
auto eth2 # I'm not so sure is this exist in your pc, remove if doesn't exist
iface eth2 inet dhcp
auto ath0 # not so sure if this exist in your pc, remove if doesn't exist
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp #save to leave as it is
iface lo inet loopback
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
iface eth1 inet static
address 10.1.1.1
netmask 255.255.255.0
network 10.1.1.0
broadcast 10.1.1.255
auto eth2 # I'm not so sure is this exist in your pc, remove if doesn't exist
iface eth2 inet dhcp
auto ath0 # not so sure if this exist in your pc, remove if doesn't exist
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp #save to leave as it is
Save and restart networking: # /etc/init.d/networking restart
Nov 30 2006, 04:19 PM

Quote
0.0173sec
0.51
7 queries
GZIP Disabled