LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-08-2006, 01:51 AM   #16
j79zlr
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38

Rep: Reputation: 15

OK, if you want a static address for your slack PC, then don't use DHCP and set a static IP.
 
Old 04-08-2006, 07:29 AM   #17
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,927
Blog Entries: 45

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by linuxhippy
My IP gives my router a DHCP address. One of my computer's on that router's network is a server and needs a static address on my home network.

I have 3 computers on my home network. 2 of those have a dynamic internal IP address. 1 of those (my Slack pc) has a static internal address. All 3 have a dynamic IP address outside my house.
Hi,

After reading through this thread I have a few recommendations.

One, I think you are resetting your router without need.

Two, you should set your slack with a static IP as you stated in a previous thread. But continue to use the dhcp.

You can edit the /etc/rc.d/rc.inet1.conf and provide the information for the desired device. This would be IP address, mask, gateway IP and your WEP key in hex.

You could use the cli to confirm. Make sure that WEP and MAC filtering are off on the router until you get the correct configuration.

Code:
#ifconfig -a                       #this will get you all
#ifconfig eth0 192.168.0.10        #assume unassigned IP
#route add defalut gw 192.168.0.1  #your gateway IP
#ifconfig -a                       #see eth0
#route -n                          #confirm route
#ping 192.168.0.1                  #check the gateway
#ping google.com                   #check dns if fail then
#ping 72.14.207.99                 #ping outside lan

note; if your ping google.com fails then your /etc/resolv.conf is not setup properly.
When you have the network setup properly then you can edit the /etc/rc.d/rc.inet1.conf and add your WEP key. Then go to your router an edit to allow the WEP and MAC filtering options.
 
Old 04-08-2006, 11:44 AM   #18
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
got it working in a new install of Slack 10.2. Here's what I did. First I had to edit /etc/rc.d/rc.modules and uncomment the modprobe natsemi line. Then I rebooted and used pkgtool to setup a static IP address of 192.168.1.45 and Nameserver and Gateway are my router's IP address of 192.168.1.1. I rebooted several times and turned my router off and it works every time. This is a 9 year old pc (Pentium 200 MHz with 64 MB RAM and 80 GB harddrive) that I have setup to be a mp3 server with gnump3d an no-ip.com and is on 24/7-resetting the router would happen infrequently along with shutting down this pc.

I have now freed up harddrive space by removing Red Hat 9. Thanx for all your help!!

Last edited by linuxhippy; 04-08-2006 at 12:22 PM.
 
  


Reply



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
router/nic initialization in RH9 and Slackware linuxhippy Red Hat 7 03-25-2006 07:47 PM
Fedora Core 2 will not initialize NIC Nelse Fedora 3 10-23-2004 08:41 PM
3com nic won't initialize but is recognized? J[]sie Linux - Newbie 10 08-21-2004 09:36 PM
NAT / Router RH9 kdd281 Linux - Networking 3 11-24-2003 02:02 PM
Linux can not initialize second Nic card dukhanh Linux - Networking 1 08-31-2001 08:49 AM

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

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

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