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.
|
|
08-28-2003, 07:36 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Rep:
|
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.
|
|
|
08-28-2003, 08:14 PM
|
#2
|
Member
Registered: Jun 2003
Location: Warwick (.ac.uk)
Distribution: Arch, Slackware 9.0, (knoppix standing by)
Posts: 256
Rep:
|
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.
|
|
|
08-28-2003, 08:21 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
I changed it, but then it remains the same as it was earlier under ifconfig. Any idea?
|
|
|
08-28-2003, 08:22 PM
|
#4
|
Member
Registered: Jul 2002
Location: USA
Distribution: Slackware, OpenSuse, Debian, Linux Mint, Ubuntu, Red Hat EL
Posts: 70
Rep:
|
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!
|
|
|
08-28-2003, 08:31 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:39 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
|
|