LinuxQuestions.org
Visit Jeremy's Blog.
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 06-06-2004, 08:58 PM   #1
Hell Cheese
LQ Newbie
 
Registered: Jan 2004
Location: New York City
Distribution: Fedora Core 2
Posts: 12

Rep: Reputation: 0
Network Problems with Slackware 9.1 and VIA Compatible Fast Ethernet Adapter


I have to do this from Windows because Slackware decided not to see my network. I can log into the router fine, but I don't know what to do otherwise. I set everything up as well as I could (sorry I'm not good at this, RH9 and FC2 automatically detected the network), like having everything as close to Windows networking as possible. Is there any way to view the network connections and/or modify their values without reinstalling Slackware?



PS: Is there any way to change the display driver in Slackware?
 
Old 06-06-2004, 09:06 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
bash-2.05b# netconfig
will get it setup just fine. To view your connection try
bash-2.05b# ifconfig
and alternately add the nic, such as
bash-2.05b# ifconfig eth0
or
bash-2.05b# ifconfig eth1

What is the make and model of your motherboard? Your nic may not be recognized. Can you post the output of
bash-2.05b# lspci

It will return output like this
Code:
00:00.0 Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 02)
00:01.0 PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0322 (rev a1)
02:05.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5702 Gigabit Ethernet (rev 02)
02:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
02:0b.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
02:0b.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
and from there we can determine your nic, where it's located, and then find out if Slack has a module for it, or if it's built-in the kernel...


What do you mean by "change the display driver?"
 
Old 06-06-2004, 09:17 PM   #3
Hell Cheese
LQ Newbie
 
Registered: Jan 2004
Location: New York City
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
To the display driver: Well, in Fedora Core 2 and Redhat 9, there was a screen where I could change the driver that is loaded for my video card. I was just wondering if there was something like that in Slackware.

Hope this works.
 
Old 06-06-2004, 09:25 PM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by Hell Cheese
To the display driver: Well, in Fedora Core 2 and Redhat 9, there was a screen where I could change the driver that is loaded for my video card. I was just wondering if there was something like that in Slackware.

Hope this works.
Not a gui - you actually have to
(1) install the driver if it's not already installed
(2) edit /etc/X11/XF86Config
 
Old 06-07-2004, 02:49 PM   #5
Joseph_M
Member
 
Registered: May 2004
Posts: 71

Rep: Reputation: 15
Cheese what you are doing is trying to make what you have learned in windoze fit into linux. Companies like Redhat are producing products that make some things look the same as windows. Such as a "install new video driver" box. This is NOT the nix way of doing things. If you want to really understand your system make the linux documentation project your friend.

http://www.tldp.org/

What you learned to do in windoze is really only applicable in windoze. Linux is not windows. It has a much better way of doing things Learn how to use linux as linux not as windows. If you do this all the girls will love you, you will make lots more money and live a long and happy life.

 
Old 06-07-2004, 03:16 PM   #6
Hell Cheese
LQ Newbie
 
Registered: Jan 2004
Location: New York City
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Joseph_M
If you do this all the girls will love you, you will make lots more money and live a long and happy life.
I definitely want girls, But I was just taking the network stuff (like the gateway, what IP I'm supposed to be, etc), and didn't think that that would be a problem.

This is what ifconfig printed out:
Quote:
eth0
Link encap:Ethernet HWaddr 00:0C:6E:E1:5C:E7
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:724 errors:0 dropped:0 overruns:0 frame:0
TX packets:725 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:296924 (289.9 Kb) TX bytes:81419 (79.5 Kb)
Interrupt:9 Base address:0x9800

lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5844 (5.7 Kb) TX bytes:5844 (5.7 Kb)

 
Old 06-07-2004, 04:07 PM   #7
Joseph_M
Member
 
Registered: May 2004
Posts: 71

Rep: Reputation: 15
Well you have an ip
Quote:
eth0
Link encap:Ethernet HWaddr 00:0C:6E:E1:5C:E7
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:724 errors:0 dropped:0 overruns:0 frame:0
TX packets:725 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:296924 (289.9 Kb) TX bytes:81419 (79.5 Kb)
Interrupt:9 Base address:0x9800
The inet addr:192.168.0.3 shows this. But you say you can't get on the net. What is in, or do you have, an /etc/resolv.conf ? Here is what is in mine:

nameserver 216.148.227.68
nameserver 204.127.202.4
search attbi.com

What does yours say? Can you ping any of the name servers in your resolv.conf file? can you ping 66.94.230.37, this is www.yahoo.com or one of them at least. And just to touch all the bases, what is the output from route? I am looking here to see if you have route to your gateway.

And what kind of router do you have??

Last edited by Joseph_M; 06-07-2004 at 04:08 PM.
 
Old 06-07-2004, 08:11 PM   #8
Hell Cheese
LQ Newbie
 
Registered: Jan 2004
Location: New York City
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
This is what /etc/resolv.conf says:
Quote:
search home
Quote:
what is the output from route?
Please explain to me what that means? Do you mean can I access my router (which, BTW, is the Netgear RP614v2 router)

And I didn't understand what nameservers were in the first place so I just left them alone.
 
Old 06-07-2004, 08:33 PM   #9
Hell Cheese
LQ Newbie
 
Registered: Jan 2004
Location: New York City
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
Heh. I just had to fill in the nameservers (which I figured out was DNS), and now it works. Thanks for all of the help, I appreciate it.
 
Old 06-07-2004, 08:45 PM   #10
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Quote:
Originally posted by Hell Cheese
Heh. I just had to fill in the nameservers (which I figured out was DNS), and now it works. Thanks for all of the help, I appreciate it.
Dude,

I just gotta ask...what's up with that nick? Whatzit mean?

Just got my router back from the shop - supposedly repaired - it got
toasted when I flashed the bios - we'll see - I got a new ISP and will
have to get the nameservers for them.
 
Old 06-07-2004, 08:57 PM   #11
Hell Cheese
LQ Newbie
 
Registered: Jan 2004
Location: New York City
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
The name spawned about 5 years ago on Battle.net. It doesn't mean anything at all. But.......... I don't plan on switching ISPs any time soon (Verizon's package is decent enough, but hey, I'm not paying, my parents are), and I don't do enough to fry anything.
 
Old 06-07-2004, 09:23 PM   #12
Joseph_M
Member
 
Registered: May 2004
Posts: 71

Rep: Reputation: 15
Quote:
Originally posted by Hell Cheese
Heh. I just had to fill in the nameservers (which I figured out was DNS), and now it works. Thanks for all of the help, I appreciate it.
I thought that might be the case. That's why I gave you my resolve.conf.

By the way how did you get the name servers? It's cool to use the ones I have in my resolve.conf but they might change. If they do you will be SOL.

Even though you are up and running now I don't think the problem is solved. Take a look in /etc/dhcpc at the file that matches your ethernet device. Mine is /etc/dhcpc/dhcpcd-eth0.info. Here is what mine looks like:

IPADDR=192.168.1.18
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=192.168.1.1
DOMAIN='attbi.com'
DNS=216.148.227.68,204.127.202.4
DHCPSID=192.168.1.1
DHCPGIADDR=0.0.0.0
DHCPSIADDR=192.168.1.1
DHCPCHADDR=xxxxxx # you don't need to see this part
DHCPSHADDR=xxxxxx
DHCPSNAME=''
LEASETIME=7200
RENEWALTIME=3600
REBINDTIME=6300
INTERFACE='eth0'
CLASSID='Linux 2.6.2 i686'
CLIENTID=xxxxx

Notice the DNS part. Does your file have this? If so then there is a problem with your dhcp client. It should have updated your resolv.conf file. If it's not there then there is a problem with your router. It should have given the dhcp client the information.
 
Old 06-07-2004, 09:27 PM   #13
Hell Cheese
LQ Newbie
 
Registered: Jan 2004
Location: New York City
Distribution: Fedora Core 2
Posts: 12

Original Poster
Rep: Reputation: 0
I don't have the file that you mentioned (I have the same thing, but with an EXE extension), but thanks for ruining my short-lived fun.
 
Old 06-07-2004, 11:11 PM   #14
Joseph_M
Member
 
Registered: May 2004
Posts: 71

Rep: Reputation: 15
Quote:
Originally posted by Hell Cheese
I don't have the file that you mentioned (I have the same thing, but with an EXE extension), but thanks for ruining my short-lived fun.
Don't worry the fun is just beginning.

I think there is some sort of problem with your dhcp client. Here is a list of the files that I have in /etc/dhcpc
-rw------- 1 root root 136 Jun 7 11:49 dhcpcd-eth0.cache
-rwxr-x--- 1 root root 61 Jan 28 2003 dhcpcd-eth0.exe*
-rw-r--r-- 1 root root 410 Jun 7 11:49 dhcpcd-eth0.info
-rw-r--r-- 1 root root 410 Jun 6 23:09 dhcpcd-eth0.info.old
-rw-r--r-- 1 root root 3 Jun 7 11:49 dhcpcd-eth0.pid


Could you post /etc/rc.d/rc.inet1.conf? This will show how your ethernet device is setup.
 
  


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
Network Wont Start, VIA Rhine fast II ethernet driver Simon7891 Linux - Hardware 3 02-06-2005 04:45 AM
Problems with USB ethernet adapter basse- Linux - Networking 0 12-29-2004 03:34 PM
VIA Rhine II fast ethernet adapter wont work!!! schindler Linux - Hardware 13 10-20-2004 06:22 PM
USB Ethernet Adapter Installation Problems zebedee Linux - Laptop and Netbook 0 11-18-2003 06:46 AM
linksys usb to ethernet network adapter troubles Mirror176 Linux - Networking 0 01-19-2003 04:08 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration