LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 07-05-2007, 12:34 PM   #1
nichoover
LQ Newbie
 
Registered: May 2007
Posts: 14

Rep: Reputation: 0
Getting network up on laptop with slackware 12


Anyone else have this problem?

I have a Compaq Presario 3000 laptop. It has a working integrated wireless card. It also has an integrated wired card.

After I installed Slackware 12, I have my wireless card off and I am trying to get my wired card working. I used the netconf setup during installation and double checked my rc.inet1.conf. I've tried making rc.wireless not executable. That made my wired card move from eth1 to eth0. But still my wired card isn't coming up. Here is some output.

'dmesg | grep eth0'
eth0: RealTek RTL8139 at 0xe400, 00:08:02:d5:2b:56, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'

'ifconfig'
lo 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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)


'ifconfig eth0 10.0.0.113 netmask 255.255.255.0 up'
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory

That last one kinda scares me.

For sake of space I'll put important stuff from rc.inet1.conf
# Config information for eth0:
IPADDR[0]="10.0.0.113"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
# Default gateway IP address:
GATEWAY="10.0.0.1"

nothing else has values set in the rc.inet1.conf

Anyone got any ideas?
 
Old 07-05-2007, 01:00 PM   #2
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
Try only:
Code:
ifconfig eth0 up
 
Old 07-05-2007, 01:26 PM   #3
nichoover
LQ Newbie
 
Registered: May 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Road_map
Try only:
Code:
ifconfig eth0 up
I still get "SIOCSIFFLAGS: No such file or directory" but that outputs only once with this command. Could this be kernel related?

Slackware 11, works just fine. Wireless card didn't get detected. I'm assuming with the latest 2.6 kernels, the wireless card is now supported.
 
Old 07-05-2007, 01:36 PM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Is the NIC driver loading? (8139too, I think)
 
Old 07-05-2007, 01:44 PM   #5
Road_map
Member
 
Registered: Jan 2007
Distribution: Slackware
Posts: 341

Rep: Reputation: 31
I use Slackware 12.0 with 2.6.21.5-nosmp kernel. I found
- in /usr/src/linux-2.6.21.5/drivers/net - 8139cp and 8139too modules (wired)
- in /usr/src/linux-2.6.21.5/drivers/net/wireless/bcm43xx - bcm43xx (802.11b/g wireless)
so the kernel has support for your cards.
 
Old 07-05-2007, 02:11 PM   #6
nichoover
LQ Newbie
 
Registered: May 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 2Gnu
Is the NIC driver loading? (8139too, I think)
You know come to think of it, I remember in Slackware 11 it did come up as 8139too, but now it comes up as 8139.

'dmesg | grep eth0'
eth0: RealTek RTL8139 at 0xe400, 00:08:02:d5:2b:56, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'

I switched to another console and did a 'tail -f /var/log/messages' and did a '/etc/rc.d/rc.inet1 restart' this is the output.

Jul 5 14:04:06 ssvegetalaptop logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth0 down
Jul 5 14:04:06 ssvegetalaptop logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth1 down
Jul 5 14:04:06 ssvegetalaptop logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo down
Jul 5 14:04:06 ssvegetalaptop logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1
Jul 5 14:04:06 ssvegetalaptop logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo
Jul 5 14:04:07 ssvegetalaptop logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth0 10.0.0.113 broadcast 10.0.0.255 netmask
255.255.255.0
Jul 5 14:04:07 ssvegetalaptop kernel: bcm43xx: PHY disconnected
Jul 5 14:04:07 ssvegetalaptop kernel: bcm43xx: PHY connected
Jul 5 14:04:07 ssvegetalaptop logger: /etc/rc.d/rc.inet1: /sbin/route add default gw 10.0.0.1 metric 1
Jul 5 14:04:07 ssvegetalaptop logger: SIOCADDRT: No such process

Any other logs I should check or tail?
 
Old 07-05-2007, 02:39 PM   #7
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
The chipset is being (correctly) identified as a Realtek 8139. What I'm asking, though, is the 8139too driver being loaded? If so, try ifconfig up eth0, then dhcpcd eth0.

You may need to put the default gateway in as well.
 
Old 07-05-2007, 03:18 PM   #8
nichoover
LQ Newbie
 
Registered: May 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 2Gnu
The chipset is being (correctly) identified as a Realtek 8139. What I'm asking, though, is the 8139too driver being loaded? If so, try ifconfig up eth0, then dhcpcd eth0.

You may need to put the default gateway in as well.
Ahh, yes, sorry about that.

'dmesg | grep 8139'
8139too Fast Ethernet driver 0.9.28
eth0: RealTek RTL8139 at 0xe400, 00:08:02:d5:2b:56, IRQ 10
eth0: Identified 8139 chip type 'RTL-8100B/8139D'

"ifconfig eth0 up" just brings up the SIOCSIFFLAGS: No such file or directory

It seams I need to get my wireless card working correctly just to get my wired card to work? This doesn't make sense. Now I turned on the wireless card and made rc.wireless executable.

All my network is static ips. I don't really see the point to do dhcpcd. Unless this is a wireless thing? I'd expect this much trouble getting the wireless card to work, but I don't even need to get the wireless card to work in Linux. And unfortunatly I can't disable the wireless card in bios.
 
Old 07-05-2007, 03:19 PM   #9
nichoover
LQ Newbie
 
Registered: May 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Oh yea, if this helps my laptop has bcm4306 802.11b/g rev 02. But I don't care if this works or not.
 
Old 07-05-2007, 04:55 PM   #10
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
1. You don't need the wireless working to get the wired working (thankfully, or many people would be walking around dazed and looking for a bridge to jump from).

2. The module name is showing in dmesg, but is it loaded? That error sure sounds like a bad or missing module. lsmod|grep 8139

3. Didn't realize you were running static. Make sure the default gateway is added using the route command and the DNS servers are listed in /etc/resolv.conf.
 
Old 07-05-2007, 11:20 PM   #11
nichoover
LQ Newbie
 
Registered: May 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Heh, I'm not used to modules. Here is the output.

'lsmod | grep 8139'
8139too 25472 0
mii 8576 1 8139too
 
  


Reply



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
unreachable network from slackware laptop virgule Linux - Networking 18 01-11-2007 05:52 PM
Laptop Network boot and Slackware question wakeboarder3780 Slackware 3 10-04-2006 04:12 PM
Alienware Laptop / Slackware 10.0 Wireless network time112852 Linux - Hardware 1 11-02-2004 10:19 AM
Home Network Help (Slackware 10 laptop and Windows Desktop) Corallis Linux - Networking 0 07-03-2004 03:32 PM
network installation of RH7.3 on laptop with pcmcia network card. Smerk Linux - Distributions 1 10-31-2002 11:56 PM

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

All times are GMT -5. The time now is 10:46 AM.

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