LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Internet not working in Slackware 10 (https://www.linuxquestions.org/questions/slackware-14/internet-not-working-in-slackware-10-a-283117/)

dhav211 01-27-2005 09:41 PM

Internet not working in Slackware 10
 
Alright for Chirstmas I got a new computer, of course it has had WinXP on it ever since. Now I had an older computer in my room with slackware on it for a few days and everything worked fine on it (including my internet). Now I got this new computer and put it in the same place using the same ethernet cords going to my router and ADSL modem but the internet on my new computer is not working.

Acording to WinXP my modem inside my computer is a SoftV92 Data Fax Modem with SmartCP, I'm not sure what the modem inside my computer was on my old computer though. I might want to add this, the modem is on the 3rd PCI slot.

I did the install exactly the same as the older computer I was using but the internet is just not wanting to work.

I hope I explained this all right and also wrote it so you guys (and gals) can figure this out.

Thanks in advance.

reddazz 01-27-2005 09:51 PM

Your question is a bit confusing. Are you trying to access the internet through dialup or through a broadband connection because at one point you talk about ethernet cords and adsl and then talk about a SoftV92 Data Fax Modem.

dhav211 01-27-2005 10:02 PM

I am using ADSL but when I run dxdiag in XP it says my modem is SoftV92 Data Fax Modem, I thought that might be a problem.

tormented_one 01-27-2005 10:09 PM

When yoiu hook it up to the modem power cycle it. (unplug it for 20 secs)

dhav211 01-27-2005 10:27 PM

Quote:

Originally posted by tormented_one
When yoiu hook it up to the modem power cycle it. (unplug it for 20 secs)
Just tried that and it didn't work. :cry:

tormented_one 01-27-2005 11:09 PM

how about posting output of ifconfig please.

also since I don't have all the info needed maybe try:
dhcpcd eth0

dhav211 01-28-2005 05:52 PM

Quote:

Originally posted by tormented_one
how about posting output of ifconfig please.

also since I don't have all the info needed maybe try:
dhcpcd eth0

If you haven't found out yet I'm kind of a Linux newb so what is dhcpcd eth0? I tried to type that into the terminal but nothing happened. I typed in ifconfig into a terminal and it said a bunch of stuff about packets.

How can I access my Linux partition in windows? So I can get what that ifconfig said.

tormented_one 01-28-2005 07:40 PM

I take it you don't have a router.
Okay Since this is a different machine your plugging in, is the mac registered at your isp? Since it's two different computers the nic cards will have different mac addresses. Have you accessed the Internet with this computer from windows? If not then its not you will probably have to register the mac with the ISP to get an IP.
If not registered you may try: sas.(IPS name).com, I know it works for most ISP's.

dhav211 01-28-2005 07:45 PM

Alright, I do have a router and I am using Windows to get on the internet on this computer, so I'm guessing my ISP has registered my mac address.

EDIT: When I put in the Slackware Install Disc 1, I type in network and probe for some network cards but it finds nothing. Do I need to download some type of driver or something?

My router is a Netgear MR814v2 and my ADSL modem is a ZyXel Prestige 623-41. This is going to make me sound really dumb, is there a like some type of modem inside my computer (not a 56k modem but on that you can have DSL/ADSL/Cable/Whatever) that I might need some drivers for? This might be worth menitioning, I have no places to plug in a standard phone cord only a ethernet cord.

tormented_one 01-28-2005 08:28 PM

does it work from windows on the same computer? after you did dhcpcd eth0 it didn't do anything, meaning no errors went back to a prompt? If no errors then I'm guessing you tried surfing the net after running that command. lspci and see if your nic card is listed.

carboncopy 01-28-2005 08:34 PM

Oh wow, what a mess.

1. What is your ADSL Modem brand and model?

2. Build in router to the ADSL Modem? If no, what is the router you are using?

3. In Windoze XP(you should dump it), kick up your command line (dos emu.) and issue the command
Code:

ipconfig /all
and post the results here.

4. In Slackware 10 console (command line),
Code:

ifconfig >> /home/mynetwork_config.txt
insert a floppy disk (I hope your comp still have floppy drive) and issue the following commands
Code:

mount -t vfat /dev/fd0 /mnt/floppy
cp /home/mynetwork_config.txt /mnt/floppy
umount /dev/fd0

5. Reboot into your windoze and post the ifconfig results which is in the mynetwork_config.txt in your floppy.

6. Reading the Slackware book would help you as well.

dhav211 01-28-2005 08:52 PM

Ok let me make this a lot cleaner.

1. My external ADSL modem is ZyXel Prestige 623-41

2. My Router is Netgear MR814v2

3. This is what I get when I type in ipconfig /all http://img.photobucket.com/albums/v2...xpipconfig.png

4. No, my computer never came with a floppy drive. So I might as well run ifconfig >> /home/mynetwork_config.txt then write it all down on paper and then write it here later :p

5. I am using the computer, which I'm trying to run Slack on, with Windows XP on it and the internet is working fine but in Slack the internet doesn't work.

6. I ran lspci and didn't find my network card in there but I did find this... 02:00.0 Ethernet controller: Marvell: Unknown device 2f20

I hope that cleans up everything so far.

Thanks so far.

tormented_one 01-28-2005 09:08 PM

you need this driver sk98lin ,I found that out here:

http://www.linuxforums.org/forum/topic-28919.html

Also check this one out too:

http://kerneltrap.org/node/3419

carboncopy 01-28-2005 09:16 PM

You have a gigabit ethernet card http://www.marvell.com/products/pcco...on/88E8050.jsp

I checked the 2.6.7 kernel, it does support your gigabit ethernet. Now, just issue the command
Code:

netconfig
in Slackware. And configure your eth0 as dhcp. And that should solve your problem.

Of after you configure the network configuration using netconfig. You have to choice, first is to reboot. second is to
Code:

/etc/rc.d/rc.inet1 stop
/etc/rc.d/rc.inet1 start

After that
Code:

ifconfig
And look for
Code:

eth0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          inet addr:10.5.1.1  Bcast:10.5.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4632267 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10005394 errors:0 dropped:0 overruns:4 carrier:0
          collisions:2665284 txqueuelen:1000
          RX bytes:387518938 (369.5 Mb)  TX bytes:910666044 (868.4 Mb)
          Interrupt:11 Base address:0x6000

You should see something similar just that your inet addr: shall be 192.168.0.x and corresponding Bcast and Mask. There maybe slight difference with this cause mine is fix IP here.

dhav211 01-28-2005 09:37 PM

I'm not using the 2.6.7 kernel, I'm using the 2.4 that came with Slackware 10. So will have have to complie 2.6.7 and then run netconfig and do what Carboncopy said or install this sk98lin driver like tormented_one said.


On Carboncopy's ifconfig it says eth0 at the very start of it but mine says lo. Why is that?


All times are GMT -5. The time now is 04:16 AM.