Fresh install...but no internet
I just put Red Hat ES on the computer next to me. I have a DSL modem that connects to a router to 3 computers (all of which were windows xp up until an hour ago). When this computer had windows it connected just fine to the internet along with the others, now that I have converted it to linux. It does not seem to get any internet connectivity. I am very new to linux, and the reason i installed it was to learn it. Having this problem alone will help me familiarize myself more with linux more. Thank you for taking the time to read this, and please remember i really am very new to linux and dont really know anything, so details are very welcome :). if you need to know any more information just ask.
|
Is the router wireless, or wired?
|
I assume this is a wired Cable/DSL NAT router. Most likely you didn't opt to use DHCP so your hosts don't have the gateway & dns addresses they need to reach the internet.
To check the IP address: /sbin/ifconfig To check the default gateway: /sbin/route To check the name server (DNS) addresses: cat /etc/resolv.conf |
sorry, it is wired, its a westell DSL 6.0 that goes to a netgear router.
i typed in the commands that you said, and this is what i got back. (no idea how to use this information to help me get internet lol) /sbin/ifconfig: Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU: 16436 Metric:1 RX packets: 2091 errors:0 dropped:0 overruns:0 frame:0 TX packets: 2091 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2712177 (2.5 MiB) TX bytes:2712177 (2.5 MiB) /sbin/route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface cat /etc/resolv.conf didnt do anything. it just opened up another terminal line as if i hadnt even typed it. As far as i know i havent setup anything with DHCP. How would i go about doin that to check if this will resolve the issue. |
Post the output of "/sbin/lspci -v" and "/sbin/lspci -n". You don't have any NIC device.
You just need to post the part with the controller: Code:
... You might try "sudo /sbin/ifup eth0" in case the device is present but was shutdown with ifdown for some reason. |
Sorry about the delay, yesterday my power went out and the computer with XP had lost connection. couldnt get im back up now ;).
So i did the commands that you were askin for. here were the results. Quote:
|
Check if you have the 3c59x kernel driver loaded. Also look at the output of dmesg or your boot log to see if there were any problems indicated. The kernel source has a "vortex.txt" file that lists some options to try in your modprobe.conf configuration.
|
how about posting the output of this command (it will show your setting for eth0)
cat /etc/sysconfig/network-scripts/ifcfg-eth0 This is where you can turn on or off DHCP. Common settings: DEVICE=eth0 BOOTPROTO=static (or you can put DHCP here) BROADCAST=xxx.xxx.xxx.xxx IPADDR=xxx.xxx.xxx.173 NETMASK=255.255.255.224 NETWORK=xxx.xxx.xxx.160 ONBOOT=yes TYPE=Ethernet the x's were put in to hide my IP info. |
Quote:
i dont know how to do any of that :-/ i looked in the startup for the word dmesg but didnt see it anywhere, and either way didnt notice any errors during startup... can you please explain how to do it. and cat /etc/sysconfig/network-scripts/ifcfg-eth0 says that it doesnt exist. :(... damn |
You can list modules with the "lsmod" command. You can filter the results with grep.
lsmod | grep 3c59 If the module isn't loaded run "sudo /sbin/modprobe 3c59x". Hopefully the 3c59x.ko kernel module exists. If you are successful loading the module or the module exists, then run your systems Network Device setup program. |
lsmod | grep 3c59
3c59x 44649 0 mii 9409 1 3c59x Does that mean that it is found, but its off? how do i run the network device setup program |
I think the next step is to run through the network device setup wizard. I don't think that was done.
|
how do i run the network device setup wizard, i looked everywhere.
the closest thing that i see is in Place>Network Servers and that just shows me "Windows network" folder, when i double click that there is nothing inside the folder. |
It under "system -> administration -> network".
|
Thank you so much!! lol, when i went to that wizard it showed 2 ethernets inactive. (i still have my old ethernet card that wasnt working on, never took it out when i put the new one in.) so i the good one active (eth1)
and it worked like a charm. Im respondin on my linux box right now. Thanks again man. i know you put in some time in helpin me out an i really appreciate that. |
All times are GMT -5. The time now is 11:53 PM. |