Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-14-2006, 02:10 PM
|
#16
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
Do you have the dhcp client install? What do you get when you run /etc/rc.d/rc.inet1 restart?
|
|
|
02-14-2006, 03:57 PM
|
#17
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
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.
|
|
|
02-14-2006, 05:16 PM
|
#18
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
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.
|
|
|
02-14-2006, 06:30 PM
|
#19
|
Member
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429
Rep:
|
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.
|
|
|
02-14-2006, 06:37 PM
|
#20
|
Member
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429
Rep:
|
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.
|
|
|
02-14-2006, 07:26 PM
|
#21
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
Do you have dhcpcd package installed?
|
|
|
02-14-2006, 08:21 PM
|
#22
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
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)
|
|
|
02-15-2006, 10:06 AM
|
#23
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
|
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.
|
|
|
02-15-2006, 03:56 PM
|
#24
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
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
|
|
|
02-15-2006, 07:37 PM
|
#25
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
After rebooting, I can no longer go on the Internet. Itried the ifconfig, route and inet1 restart again to no avail. What the hell??
|
|
|
02-15-2006, 10:02 PM
|
#26
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
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.
|
|
|
02-15-2006, 11:24 PM
|
#27
|
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852
|
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.
|
|
|
02-15-2006, 11:27 PM
|
#28
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
So say it isn't running, how would I set it up?
|
|
|
02-16-2006, 10:40 AM
|
#29
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
|
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.
|
|
|
02-16-2006, 10:57 AM
|
#30
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,984
|
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!
|
|
|
All times are GMT -5. The time now is 11:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|