Jump to content

network up the creek [solved]


Leo
 Share

Recommended Posts

To determnine your gateway, just run:

 

# route

 

Eg. Here's my output which is pretty vanilla for a router/ethernet system using a broadband modem:

 

# 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
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0

 

Your network configuration is in /etc/sysconfig/network-scripts. You will see config files for each network interface. The one for eth0 is ifcfg-eth0. A generic one for dhcp setup would look like this:

 

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
METRIC=10

 

DNS is configured through /etc/resolv.conf.

And the module/driver for your network card is loaded through /etc/modprobe.conf.

For reasons unknown to me, DSL seems to have more issues with DNS. If you can ping outside numeric ips but can't resolve urls, it's probably a DNS issue. The ip for mandrivausers.org is 83.245.15.165. Try pinging that number and see what you get.

Link to comment
Share on other sites

HURRAH!!!

 

Thank you all for your help.

 

I got pissed off (patience is not a virtue of I posess) and decided to get rid of all network connections and reset the modem/router to it's factory settings. I then started from scratch, reenterd all information into the modem and set resolv.conf etc. I restarted the network and it all worked.

 

Thank you once again to everyone who helped.

 

Leo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...