LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-19-2004, 02:41 PM   #1
em00guy
LQ Newbie
 
Registered: Feb 2003
Posts: 27

Rep: Reputation: 15
Getting the internet up???


I'm having a ferociously newb moment here. I installed the 2.6.8.1 kernel on Slack 10 and when i boot to it my internet no longer works. I'm running a centrino laptop and i installed the pro/100 ethernet drivers in the kernel. i also ran netconfig and still nothing. How do i start the network after a kernel upgrade. BTW when I boot to my old 2.4.26 kernel i have no problems. Help will be greatly rewarded
 
Old 10-19-2004, 03:53 PM   #2
Oderus
Member
 
Registered: Sep 2004
Posts: 52

Rep: Reputation: 15
as root, type ifconfig. Does it show the eth0 adapater?
try dhcpcd eth0 to see if the adapter goes online... run ifconfig again to check.
if it doesn't work at all.. try dmesg | grep eepro (is that the driver name?) and see what shows up.
you can also try ifconfig eth0 up to force eth0 to stay up, then typing ifconfig will show it even though there is no IP likely.
Does the link light on the network card stay lit?
 
Old 10-19-2004, 04:07 PM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
A little more info of a more specific nature would be helpful and makes it more likely that you will get a reply.

If you change your network settings, e.g. using slackware's netconfig, you will have to load your new network settings by running the script /etc/rc.d/rc.inet1. Reboot does the same thing but then this is not windows so you don't need to reboot.

You have an operating setup with the other kernel in you laptop so comparing messages/output after/when booting respective kernels should help you identify the problem.

Run ifconfig or ifconfig eth(number of device here) if you have more than one nic installed, and/or..........
run netstat -r or route -n after booting up with each kernel to see if there is any difference in output to the terminal.

Here's what I get with route -n on my workstation connected to an IPCop firewall/gateway

root@rick:/home/rick# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0

The above should tell you if you have a network configuration problem, but..............
I expect that if you are talking about an ethernet card and internet you are accessing the net via an adsl modem or gateway and you suspect the problem is configuring the network of your nic driver.

Try some diagnostics first

When you boot, what do you get from dmesg? You should be able to see hardware being identified. Compare the dmesg from a 2.4.26 boot and a 2.6.8.1 boot to see if your pro/100 nic is identified the same way and which module is loaded if any.

Also check in files like /var/log/syslog or /var/log/messages to see if there is anything to point you in the right direction. For example to snippet from my /varlog/messages below show that when I booted up this morning at around 05:2something show my system identifying devices at boot and doing what has to be done with them.

Oct 20 05:26:26 rick udev[1282]: creating device node '/dev/nvidia0'
Oct 20 05:26:26 rick udev[1274]: creating device node '/dev/nvidiactl'
Oct 20 05:26:26 rick kernel: uhci_hcd 0000:00:10.2: irq 11, io base 0000e000
Oct 20 05:26:26 rick kernel: uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
Oct 20 05:26:26 rick kernel: hub 4-0:1.0: USB hub found
Oct 20 05:26:26 rick kernel: hub 4-0:1.0: 2 ports detected
Oct 20 05:26:26 rick usb.agent[1397]: ... no modules for USB product 0/0/206
Oct 20 05:26:27 rick usb.agent[1443]: ... no modules for USB product 0/0/206
Oct 20 05:26:27 rick kernel: 8139too Fast Ethernet driver 0.9.27
Oct 20 05:26:27 rick kernel: eth0: RealTek RTL8139 at 0xd400, 00:02:44:84:b0:3d, IRQ 11
Oct 20 05:26:27 rick kernel: usb 2-2: new full speed USB device using address 2
Oct 20 05:26:27 rick kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Oct 20 05:26:27 rick kernel: drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1204

If your nic isn't being recognised or the module is wrong or nonexistant there will be a message somewhere saying so

I'm not promising I can help you when you come back with something a little more specific. Maybe someone else can if I can't or maybe you'll have something you can google, but you can't fix it or get advice if you don't know the problem.
 
Old 10-20-2004, 12:11 PM   #4
em00guy
LQ Newbie
 
Registered: Feb 2003
Posts: 27

Original Poster
Rep: Reputation: 15
thanx for the help guys. it turns out i forgot to copy over my ./config file from the old kernel. all fixed now
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 11:48 AM
Messed up my internet settings (NO internet connection) :( Almazick Linux - Networking 2 09-08-2004 12:05 PM
iptables. Can ping through to internet side nic but can't get to internet gonus Linux - Networking 19 07-15-2004 01:27 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration