On  Mon 10/17/2005 7:37 PM Paul Kaplan wrote:
> I'm running a new 2006 installation on a Thinkpad T40, but I'm having network
> connection problems that never appeared on a previous 10.1 installation on
> the same hardware.
>
> The network connection appears to be dropped every few minutes (can't ping
> anything).  The only way to re-establish is to use the network config wizard
> in the control center to create a new connection; ifconfig eth0 up doesn't do
> the trick
>
> Any suggestions as to how to trouble shoot this problem?  Where to begin? 
> What to look for?

I am not running `06 (I'm on 10.1), but I have have very bad experiences with
the network conifg GUI. I have experienced exactly what you're describing when
I have used the GUI. I much perfer to set everything up by hand. There are only 
3
files to edit:
 
Edit  /etc/sysconfig/network-scripts/ifcfg-eth0
It should read: (you can leave out anything on a line after #)

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.1.2             # or whatever your IP address is to be 
NETMASK=255.255.255.0      # or 255.0.0.0 if your IP address is 10.x.x.x
NETWORK=192.168.1.0        # or 10.0.0.0 if your IP address is 10.x.x.x or 
192.168.2.0 if your IP address is 192.168.2.x
BROADCAST=192.168.1.255    # or 10.255.255.255 if your IP address is 10.x.x.x 
or 192.168.2.255 if your IP address is 192.168.2.x
ONBOOT=yes
MII_NOT_SUPPORTED=yes

Edit /etc/resolv.conf
It should contain the nameserver address(es) - put the address of your ISPs 
nameserver right at the top. eg: 

nameserver 195.20.224.165

Edit /etc/sysconfig/network
The default gateway and your hostname go here:

HOSTNAME=yourhostname_goes_here
NETWORKING=yes
GATEWAY=192.168.1.1    # the IP address of your default gateway
GATEWAYDEV=eth0        

In a terminal, type:
 
iptables -t nat -D PREROUTING -i eth0 -j loc_dnat

You may get an error with this - don't worry - if you do, just skip the next 
line:
Add the above line to the bottom of /etc/rc.d/rc.local.
 
This will bypass a proxy server Mdk will have set up if you ran the wizard.

Then type ifup eth0 - this should bring up the network

Then try it all out:
Try pinging your computers NIC If you get errors, then your NIC is not working.
If OK - Try pinging the gateway 
If OK - Try browsing - if you cannot reach say, www.google.com, try typing 
http://216.239.57.99/ (IP address of google) into your browser address bar.
If you cannot reach a site by name, but can get it by IP address, you have a 
DNS problem.
If OK, Check to make sure it all works across a reboot.

HTH,
-larry

<<winmail.dat>>

____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to