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-10-2006, 04:18 PM
|
#1
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Rep:
|
Slack 10.2 - Network Config - Linksys BEFW11S4
How do I configure my network in Slackware? I have 2 computers connected to a Linksys BEFW11S4 connected to a Motorola SBV5120 SURFboard cable modem. Every other Linux distro I have tried (SimplyMEPIS 3.3.1, SuSE 10.0) has recognized my connection, so I'm inclined to think I did not configure DHCP properly. How do I fix this? Is there a config program I should run? Help would be appreciated. 
RedNovember
|
|
|
02-10-2006, 04:22 PM
|
#2
|
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761
Rep:
|
Edit the /etc/rc.d/rc.inet1.conf. Put yes in the use dhcp section and scroll down to where it says default gateway and put the ipaddress of your router in there. Then type /etc/rc.d/rc.inet1 restart . If it gives you a dhcp error, install the dhcp package.
|
|
|
02-10-2006, 04:44 PM
|
#3
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
Running and answering the quesions there should setup your network just fine. This is the tool that also executes when you install Slackware and have installed the tcpip package.
Eric
|
|
|
02-11-2006, 06:26 AM
|
#4
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
I'm somewhat confused - netconfig asks me for a hostname, which I assume can be anything. Then it asks me for a domain name, and I don't know what to put, so I put dyndns.org (don't remember where I saw this). My internet connection still doesn't work. Should I use my router's IP address as the domain name? If so, how can I find that out?
I checked out my Windows computer's connection to the internet, and it says only "Detect IP address automatically", "Detect DNS server automatically", and "DHCP enabled". Thanks a lot, Windows.
My dad ran ipconfig on the other computer, so I guess I know my IP address now. I took tangle's advice, and have yet to reboot the computer to check it out. Do I need a hostname to edit? I'm going to reboot and see if the edits work.
|
|
|
02-11-2006, 06:50 AM
|
#5
|
LQ Newbie
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5
Rep:
|
make up a name for your machine eg. coreputer
|
|
|
02-11-2006, 06:53 AM
|
#6
|
LQ Newbie
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5
Rep:
|
as for domain name, you don't need one, but just put the same domain on each machine
eg. corenet.net
these settings will be mainly used locally not out to the net, as your DHCP server(ISP)
will put in all the right IP address and nameserver address etc for use out on to the net.
|
|
|
02-11-2006, 07:00 AM
|
#7
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
OK, I ran netconfig again, and this time it tells me TCP/IP is not installed. How do I install TCP/IP without an internet connection? I almost accidentally reinstalled Slack trying to do it from disk 1.
|
|
|
02-11-2006, 07:12 AM
|
#8
|
LQ Newbie
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5
Rep:
|
you will have to use pkgtool to install the networking packages i believe.
It's easier to just install everything from the start. So put your cd in
and run pkgtool. select the net package i think it's called. if you don't
have luck that way, then just do a full install from scratch and make sure you
install everything. sometimes when you have problems like these, it's easier to
just install all over again. i did it lots when i was learning.
|
|
|
02-11-2006, 07:52 AM
|
#9
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
Weird, it seems that pkgtool says I have the tcpip package already installed. What could be the reason? Note: netconfig only tells me to install tcpip if I enter a nonexistent domain name.
|
|
|
02-11-2006, 10:05 AM
|
#10
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,983
|
Quote:
Originally Posted by RedNovember
Weird, it seems that pkgtool says I have the tcpip package already installed. What could be the reason? Note: netconfig only tells me to install tcpip if I enter a nonexistent domain name.
|
Hi,
By chance are you leaving the domain name blank? If so just set it to what you want your domain name to be i.e. workgroup, mydomain, whatever ....
You might have a corrupt install. If you use pkgtool, remove tcp/ip package then re-install it from the cd.
You should restart your network.
|
|
|
02-11-2006, 02:05 PM
|
#11
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
I can't figure out how to install things with pkgtool. When I select "From current directory" it takes me back to the root prompt. When I select "From other directory" it does the same thing. How do I install stuff?
|
|
|
02-11-2006, 04:43 PM
|
#12
|
LQ Newbie
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5
Rep:
|
"From other directory" put in the path to you cdrom drive perhapseg: /dev/cdrom
it would be faster if you copy your dics to your hard drive, then p[ut the path to your
disc images eg: /home/slackdiscs/disc1
|
|
|
02-12-2006, 03:56 PM
|
#13
|
LQ Newbie
Registered: Jan 2006
Location: USA
Distribution: Slackware 13.1, Windows 7 (on game box only), Mac OSX
Posts: 18
Rep:
|
Sounds like you may have corrupted your network package files.
Use 'removepkg' packagename - to remove the current network package from the system.
Then cd to the location of the package (mounted cd? probably in '/slackware/n) use 'installpkg' packagename - to re-install the network package (start with the 'inetd...' package first).
You can see what packages the system thinks it has installed by looking in the /var/log/packages directory; the files in here describe each package as well.
|
|
|
02-13-2006, 10:09 AM
|
#14
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
I reinstalled slackware - twice - and it still doesn't work. I don't think it's corrupted, because it seems unlikely that a file would be corrupted three times in a row.
|
|
|
02-14-2006, 12:35 PM
|
#15
|
Member
Registered: Oct 2005
Distribution: Debian etch
Posts: 103
Original Poster
Rep:
|
Anyone help with this? Please? This is the one thing that is really bugging me about Slackware. I'll post my rc.inet1.conf when I get home from school.
|
|
|
All times are GMT -5. The time now is 01:36 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
|
|