LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-10-2006, 04:18 PM   #1
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Rep: Reputation: 15
Question 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
 
Old 02-10-2006, 04:22 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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.
 
Old 02-10-2006, 04:44 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120Reputation: 8120
Running
Code:
netconfig
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
 
Old 02-11-2006, 06:26 AM   #4
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
Post

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.
 
Old 02-11-2006, 06:50 AM   #5
coremp
LQ Newbie
 
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
make up a name for your machine eg. coreputer
 
Old 02-11-2006, 06:53 AM   #6
coremp
LQ Newbie
 
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
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.
 
Old 02-11-2006, 07:00 AM   #7
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
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.
 
Old 02-11-2006, 07:12 AM   #8
coremp
LQ Newbie
 
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
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.
 
Old 02-11-2006, 07:52 AM   #9
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
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.
 
Old 02-11-2006, 10:05 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,983
Blog Entries: 46

Rep: Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203Reputation: 3203
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.
 
Old 02-11-2006, 02:05 PM   #11
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
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?
 
Old 02-11-2006, 04:43 PM   #12
coremp
LQ Newbie
 
Registered: Jan 2006
Location: newcastle, AU
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
"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
 
Old 02-12-2006, 03:56 PM   #13
lodragan
LQ Newbie
 
Registered: Jan 2006
Location: USA
Distribution: Slackware 13.1, Windows 7 (on game box only), Mac OSX
Posts: 18

Rep: Reputation: 4
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.
 
Old 02-13-2006, 10:09 AM   #14
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
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.
 
Old 02-14-2006, 12:35 PM   #15
RedNovember
Member
 
Registered: Oct 2005
Distribution: Debian etch
Posts: 103

Original Poster
Rep: Reputation: 15
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.
 
  


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 01:36 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