LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-28-2003, 07:36 PM   #1
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
How do you change the IP Address?


How do I change the IP address of my slackware linux filesharing box? I just networked and installed all of my 5 other computers to cable modem and their IPs changed because of DHCP. How do I either change the IP or set it for DHCP? I tried netconfig, but it didn't even do anything! It IS connected to the router which is connected to cable modem and other computers, for notes' sake.
 
Old 08-28-2003, 08:14 PM   #2
BigBadPenguin
Member
 
Registered: Jun 2003
Location: Warwick (.ac.uk)
Distribution: Arch, Slackware 9.0, (knoppix standing by)
Posts: 256

Rep: Reputation: 30
yeah i think there's something wrong with netconfig. /etc/rc.d/rc.inet1 is the file you want, and when i used netconfig today it didn't touch it... anyway, just edit that file and fill in the blanks.
 
Old 08-28-2003, 08:21 PM   #3
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
I changed it, but then it remains the same as it was earlier under ifconfig. Any idea?
 
Old 08-28-2003, 08:22 PM   #4
slackerboy
Member
 
Registered: Jul 2002
Location: USA
Distribution: Slackware, OpenSuse, Debian, Linux Mint, Ubuntu, Red Hat EL
Posts: 70

Rep: Reputation: 15
Diablotrickster
The computers hooked up after your router should not
change their IP addresses. The only one that changes is
the one the modem gets from your ISP. You control the
IP assigned to your computers which I hope are connected
after your router. If I shut myself on the foot, somebody can
correct me.

Note: one of the benefits of the router is to serve as a possible
line of defense against someone picking on your PC's because
depending on the router, you can implement filters and a firewall!

There are many resources here that you can search on this. If I
run into one thread, I'll post it here. Have you done a google search? Good luck!
 
Old 08-28-2003, 08:31 PM   #5
Diablotrickster
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
woot, nm, I got it to change.

edit: no, it changes the IP of all computers. And now for some reason I can't access the filesharing server, even though it is on the same subnet mask as the other computers... what... the... hell.

Last edited by Diablotrickster; 08-28-2003 at 08:41 PM.
 
  


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
Change Ip address luisator Linux - Newbie 3 06-02-2005 05:03 AM
won't change ip address xushi Solaris / OpenSolaris 4 05-14-2005 04:11 AM
Change IP address lvran Linux - Networking 2 10-16-2003 02:19 AM
cannot change ip address ??? aherrys Linux - Networking 0 07-06-2003 04:34 AM
Change IP address ust Linux - Networking 5 06-12-2003 01:18 PM

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

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