unable to get internet to work
I’m new to linux
Im having trouble setting up my internet connection I have cable internet. The laptop is connected directly to the modem (no router, no wireless). I just installed suse 10.0 from dvd onto my laptop When I use YAST to go network devices->network card, an Ethernet card is detected. It said it was unconfigured so I chose to edit: Device Type: Ethernet Setup method: Autom. Addr. Sett (via DHCp) Host Name and Name Serv Conf: Checked “change host name via DHCP” Checked “update name servers and search list via dhcp” Routing: didn’t do anything here Advanced-> Hardware Details: checked pcmcia Advanced-> DHCP client options: checked request broadcast response Advanced->Detailed Settings: selected “at boot time”; checked “user controlled”; selected “external zone” Advanced-> Additional addresses: nothing I have no internet, googled for solutions here and there, no luck. I’m hoping to get some tips. |
hi
run Quote:
you are getting ip or not? run Quote:
0.0.0.0 Some IP? 0.0.0.0 UG 0 0 0 eth0 run Quote:
try to ping gateway and dns ;when u get reply from ping then you have internet connection. if you cant see ip in ifonfig,/etc/resolv.conf and gateway ip network configuration is not done properly using yast |
Since it's an Ethernet card, have you tried configuring it from the command line? Try this:
Code:
ifconfig eth0 add <your address> |
First off, tnx for the replies.
In Suse-> run command>ifconfig>"could not run specified command" Same for "route -n" Same for "cat /etc/resolv.conf Running ipconfig on my win machinge gets me: IP adress: 83.81.49.69 Subnet mask: 255.255.248.0 Default gateway: 83.81.48.1 cheers |
<removed, as I thought something that wasn't true>
|
I don't know who your cable provider is and Im not sure if you done this. But most cable providers bind your mac to their network. So make sure you restart your modem to make sure thats not your problem. If you modem has a gui you may sometimes need to login to it and do a soft reset or use the physical reset button to reset it. If you do a physical reset besure that the power does not get cut off during the reset process or you can corrupt your firmware.
|
I'm not familiar with the Suse set up but in Debian I have to run both ifconfig and route as root (or use sudo). Maybe that's your problem.
ciao, jdk |
use sudo to run command as root
Code:
sudo ifconfig |
hi
try to disable firewall and selinux using yast or yast2 |
Oh just to add you have to run like this
/sbin/ifconfig Works for me Quote:
|
Are you sure that your modem uses dhcp to assign your ip? Often these things use pppoe.
Evo2. |
Ok.
Got ifconfig result: Link Encap: Local Loopback Inet addr 127.0.0.1 Mask 255.0.0.0 Route -n: Destination 127.0.0.0 Gateway 0.0.0.0 Genmask 255.0.0.0 cat /etc/resolv.conf search site Tnx for the help P.S. Tried resetting modem, no result. P.P.S. No, I'm not sure my modem uses DHCP (not sure 'bout much of anything at the mo). Will try to find out. |
Hi,
How you access internet on windows? From above ifconfig result of your we can conclude that your system not getting ip from ISP. The reason may be incorrect network configuration. If you let us know how you get internet on your windows system then we can figure out the solution for you... |
Ok.
I have no router lying around. When I unplug my laptop (with suse) and plug in my win mac, i've an internet connection without doing anything else. For ipconfig result see post above. I wanted to get to know linux, so i installed it on my laptop to play around with. If i could just get internet to run, id have a solid starting position. I realize i'm lacking general IT (orwhathaveyou) knowledge here, but hey gotta start somewhere. |
Another easy thing to check your hardware is try a live distro and see if it connects you,all the major distros are pretty good at it... !
|
Quote:
i.e Code:
c:\ipconfig /all |
First off does your modem have a gui (a ip that allows you to log into your modem like 192.168.1.1. If so its on your modem or should be). If it does not then you also have an internet light on your modem. Is it on when you have the linux machine plugged in. How do you connect with windows. Just plug in an go or do you have to go to start>connect to> your connection here?
Its possible you do have a PPPoE connection which requires a login and password to connect to the internet. What would really help look on your modem and tell us what make and model it is. |
Ok.
Taking a cue from your advice to try a live distro, im now running Slax. At the network interfaces-info center it says the following: Name: Io Ip Add: 127.0.0.1 Netwrk Mask: 255.0.0.0. Type: Loopback Up No internets for me. |
Ok.
The modem is a Motorola Surfboard. The modem does not have a gui. It does, however, have shiny lights that go blink/blink ;) Whether the modem is plugged into my laptop (with Suse) or my win mac, the lights do their thing (no change). When I plug it into my win mac, its plug 'n go. Really appreciating all the feedback, |
there might be your ethernet card not detected or driver not supported
second thing is your network card not configured give some H/W detail here below command display ethernet card Code:
lspci | grep -i ethernet Code:
lsmod Regards, |
Ok.
ipconfig /all: Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : NVIDIA nForce Netw Physical Address. . . . . . . . . : 00-04-61-93-87-F0 Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IP Address. . . . . . . . . . . . : 83.81.49.69 Subnet Mask . . . . . . . . . . . : 255.255.248.0 Default Gateway . . . . . . . . . : 83.81.48.1 DHCP Server . . . . . . . . . . . : 212.54.40.146 DNS Servers . . . . . . . . . . . : 212.54.40.25 212.54.35.25 cheers, |
OK it seems you get ip address from your ISP through DHCP.
see this line in your output. Quote:
Regards, |
Ok.
lspci | grep -i ethernet: 02:00.0 Ethernet Controller: Realtek Semiconduction Co., Ltd.: Unknown device 8168 (rev 01) lsmod returns a host of data, in which I know not what to look for. cheers, |
Quote:
I assume (not confirm) you need to install driver.( previously i had face problem with this model in centos) for confirmation can you paste all output of lsmod command. Regards, |
Well,
I'm unable to paste the lsmod data. Figured i'd save it to usb device then connect to win mac, but open office is giving me the "saving using protocol "media" is not supported" error. Sigh. Seems I can't even save to the harddisk on the laptop right now. What did I get myself into!? ;) |
Hi,
as sem007 was alluding to, the driver (kernel module) that you need seems to be r8168. To see if your kernel has that module please run the following command: Code:
find /lib/modules -name r8168.ko If it returns something like Code:
/lib/modules/2.6.26-2-amd64/kernel/drivers/net/r8168.ko Next see if that module has been loaded Code:
lsmod | grep r8168 Code:
modprobe r8168 Evo2. |
Ok.
find /lib/modules -name r8168.ko, no output; returns me to command line prompt. cheers, |
hey hi that means you dont have to do anything to get connected... good.. that means you get ip dynamically and in suse you are facing problem in configuring Ethernet
use yast or yast2 to configure ethernet card and slect Automatically connect via DHCP also use yast or yast2 to disable firewall if you follow these two steps you will get connected also let us know the output of Code:
iptables -L |
Well,
(Re)configuring the ethernet card with setup via dhcp and no firewall does not work for me. Iptable -L is returning lots of data, that I cant paste for reason stated earlier. Cheers, |
Quote:
Code:
uname -r PS. Suse experts: please correct me if I'm wrong about the age of suse 10. PPS. OP: how old/new is your hardware? |
Quote:
please read carefully. in post #26 evo2 explain how to find loaded modules. in post #27 OP said there is no such module let me know how OP access ethernet card with out modules(driver) and how it configure interface to access internat? without network module can OP follow your two easy steps? Regards, |
Ok.
Kernel 2.6.13-15-default I'm running Suse on an Aspire 7111WSMi, a handmedown from a relative. I guess it's about 4 years old. cheers, |
Quote:
And as i know suse 10 support also expire. Why you are not use latest version of OpenSuSE (i think 11.4 is available)? Regards, |
My train of thought went something like this,
Let's install suse 10, got the dvd lying around anyway, then patch it up till the latest version over the internet. Much did I know, the internet part was gonna screw me over. Thank you all so much for the time invested, really really appreciate it. Guess ill try to download suse 11.3 and try again. cheers |
Good to hear that you are going to download a newer distro. After some googling I've not been able to find a clear reference but it seems that this driver was introduced to the kernel shortly after version 2.6.13, so you should have no problem with opensuse 11.3.
Good luck! And let us know how you get on. Cheers, Evo2 |
I suggest you download Opensuse :)
BTW Opensuse 11.4 is also availbale Regards, |
Well,
Im downloading open suse 11.3 right now. Btw, out of curiosity and perhaps to save myself some time in the future, whence did you get the information that the particular kernel module was not included in the kernel i had? cheers, |
update:
11.3 and it works! Tnx again, |
Awsome. Linux can be tough for starters but it gets easier. Every distro is different in its own ways so find the one you like and stick with it. Also besure to mark the thread as solved so others know.
|
As JMC1987 said some ISPs bind your access to the mac-address of your PC. You have to verify this with your ISP.
If this is the case, You can only use one machine (the one with the registered mac) at the internet connection and use that one to forward to other machine's. There is however a second option if your network card supports it. Some network cards allow to change the default mac-addres (see ifconfig hw). In that case write down the mac-address of the working card and use that for the other network card. _________________________ Gerrard |
Hi,
Quote:
Code:
find /lib/modules -name r8168.ko I was't able to find a definitive reference on the web, but I did find a significant number of forum and email list posts of people discussing the absence driver in the 2.6.13 kernel, but did not find similar posts with reference to the 2.6.14 kernel. Evo2. |
Quote:
|
Quote:
Evo2. |
All times are GMT -5. The time now is 09:53 AM. |