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 02-14-2006, 02:10 PM   #16
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78

Do you have the dhcp client install? What do you get when you run /etc/rc.d/rc.inet1 restart?
 
Old 02-14-2006, 03:57 PM   #17
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
First off, the rc.inet1.conf:
Code:
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").

# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.

# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.

# =============================================================================

# Config information for eth0:
IPADDR[0]="" #edited
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="" #edited
DHCP_KEEPGW[0]="yes" #added
DHCP_IPADDR[0]="192.168.1.110" #added

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]=""
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="192.168.1.110" #edited

# Change this to "yes" for debugging output to stdout.  Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
Everything else is comments and examples.

tangle: It tells me something like this:
Code:
/sbin/dhcpcd: not running
dhcpcd MAC Address: 00:5f:4d:3c
(something like that, I can't try it out and get online at the same time, obviously)
pkgtool tells me I have dhcp, dhcpcd, and tcpip all installed. I tried experimenting with the ip addresses and criteria in rc.inet1.conf to no avail.

EDIT: Windows says my router's IP address is 192.168.1.100 - I tried this before, but it didn't work.

Last edited by RedNovember; 02-14-2006 at 03:58 PM.
 
Old 02-14-2006, 05:16 PM   #18
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
Hell, now that I think of it, the first time that I ran netconfig (and every subsequent time), it failed to find my network card. I realized this when reading through some stuff from Google. How do I go about getting Slack to recognize my card? I don't know off the top of my head what kind it is; I'll post when I find out.
 
Old 02-14-2006, 06:30 PM   #19
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
as root run "ifconfig -a" and post your output.
then run "lspci" post this also

those will tell us if linux is seeing your card. With this output we should be able to tell you what driver to install and get your linux box on the network.
 
Old 02-14-2006, 06:37 PM   #20
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
after googling the model number of the router you posted. It is a wireless router.

You are using a 10/100 card right?

sorry for asking such a dumb question, but you'd be surprised.
 
Old 02-14-2006, 07:26 PM   #21
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Do you have dhcpcd package installed?
 
Old 02-14-2006, 08:21 PM   #22
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
tangle: pkgtool says yes, dhcpcd is installed. When I restart inet1 or shut down, it says that it is not running.

chrisortiz: I don't know what a 10/100 card is, so not such a dumb question I guess. 1) It works on every other distro and 2) I'm not wirelessly connected, but actually connected with ethernet cable to my router. Makes everything simpler.

ifconfig -a:
Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:56:4F:D6:CB  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3 

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
lspci:
Code:
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:05.0 Communication controller: Conexant: Unknown device 2702 (rev 01)
01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
 
Old 02-15-2006, 10:06 AM   #23
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
Blog Entries: 46

Rep: Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204
Quote:
Originally Posted by RedNovember
tangle: pkgtool says yes, dhcpcd is installed. When I restart inet1 or shut down, it says that it is not running.

chrisortiz: I don't know what a 10/100 card is, so not such a dumb question I guess. 1) It works on every other distro and 2) I'm not wirelessly connected, but actually connected with ethernet cable to my router. Makes everything simpler.

ifconfig -a:
Code:
eth0      Link encap:Ethernet  HWaddr 00:0D:56:4F:D6:CB  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:3 

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
lspci:
Code:
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DB/DBL (ICH4/ICH4-L) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DB (ICH4) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
01:05.0 Communication controller: Conexant: Unknown device 2702 (rev 01)
01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
Hi,

Your card is being recognized. Have you tried to use a static IP?

example;

#ifconfig eth0 192.168.1.111 # since this is the net you want

# route add default gw 192.168.1.110 #this will add to your route table

For complete information of the lspci;

#lspci -v #this will provide useful data
#when trouble shooting

My reason to suggest the static is to confirm the network is functional then if you must use dhcp then that is rather simple to setup.

As for the 10/100 question, you show that the device is;
01:09.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)

Which is a 10/100 capable NIC.

HTH!

Last edited by onebuck; 02-15-2006 at 10:09 AM.
 
Old 02-15-2006, 03:56 PM   #24
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
Your commands work! I'm posting this from Slackware. It took a while after the inet1 restart, but it works now. Thanks a lot.
RedNovember
 
Old 02-15-2006, 07:37 PM   #25
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
After rebooting, I can no longer go on the Internet. Itried the ifconfig, route and inet1 restart again to no avail. What the hell??
 
Old 02-15-2006, 10:02 PM   #26
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by gwsandvik
Hi,

Your card is being recognized. Have you tried to use a static IP?

example;

#ifconfig eth0 192.168.1.111 # since this is the net you want

# route add default gw 192.168.1.110 #this will add to your route table

For complete information of the lspci;

#lspci -v #this will provide useful data
#when trouble shooting

My reason to suggest the static is to confirm the network is functional then if you must use dhcp then that is rather simple to setup.
So now would I need to set up DHCP, now that I see that my network is functional? It was sort of irritating when I rebooted and it didn't work anymore.
 
Old 02-15-2006, 11:24 PM   #27
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yes, you need to enable DHCP.

To see if DHCP is even working, try something like this on the console:

dhcpcd -t 10 eth0

That should get you an IP from the router.
 
Old 02-15-2006, 11:27 PM   #28
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
So say it isn't running, how would I set it up?
 
Old 02-16-2006, 10:40 AM   #29
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
Blog Entries: 46

Rep: Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204
Quote:
Originally Posted by RedNovember
So now would I need to set up DHCP, now that I see that my network is functional? It was sort of irritating when I rebooted and it didn't work anymore.
Hi,

The reason it did not work after a reboot was in the fact that the device was initiated by cli for the previous session.

If you want to remain static you could enter in the /etc/rc.d/rc.init.conf file your device information.

As for the dhcp question, MS3FGX gave you ;

Quote:
Yes, you need to enable DHCP.

To see if DHCP is even working, try something like this on the console:

dhcpcd -t 10 eth0

That should get you an IP from the router.
As a means to check the dhcp.
 
Old 02-16-2006, 10:57 AM   #30
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
Blog Entries: 46

Rep: Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204Reputation: 3204
Hi,

Just another thought! You do not have to run dhcp. You can setup a system to have a static IP and then setup your wireless router to control said IP assignment. Sometimes this can be a means of control for multiple laptop system access. Yes, WEP is better than nothing but it can be broken rather easily with tools. For the paranoid;

http://www.tomsnetworking.com/Sections-article111.php

To setup access for SOHO you just want to prevent someone from getting into your network. If a hacker is warring and comes across your wireless, they will generally pass if you have some security.
Go on to an open LAN. There are some general security techniques.

You might want to look at this site for wep description;

http://www.wi-fiplanet.com/tutorials...le.php/1368661

Do a google on the subject and you will find more than enough to satisfy.

HTH!
 
  


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
Static IP trouble with linksys BEFW11S4 dizzutch Linux - Networking 8 01-17-2005 01:18 PM
Installation of Linksys BEFW11S4 Router deathboy Linux - Hardware 1 05-01-2004 06:37 PM
Unable to get hostname by linksys BEFW11S4 router akhil1 Linux - Networking 3 04-08-2004 12:57 AM
Redhat 9 No Ping to Win98 via Linksys BEFW11S4 rianjb Linux - Networking 1 11-09-2003 11:58 AM
Linksys BEFW11S4 without DSL possible (?) the_g Linux - Networking 0 06-02-2003 02:57 PM

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

All times are GMT -5. The time now is 11:13 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