SlackwareThis 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.
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.
1. my /etc/sysconfig/ when missing......... therefore i can't config the network and system.......
2. deleting gateway route path..... "route del gw 192.168.0.2" the problem is after entered the command it hang or do nothing...... so i have to press crtl + c
Hi,
Yeah, slack is very different from redhat, etc - I'd definitely prefer the slack/unix way of doing things... much cleaner and simpler if u ask me..
Coming to your question...
Configure ur network by editing /etc/rc.d/rc.inet1.conf .. And then stop and start ur network interface by
These are probably not extensive, but are good starts.. Also this forum is a good resource, I've found it to be one of the best that I've come across - the people are very helpful, and I've found answers to most of my queries by just searching the older posts...
You've got packets coming and going by the looks of it. If your using DHCP (using a router perhaps?) all you really need to do is edit /etc/rc.d/rc.inet1.conf, not /etc/rc.d/rc.inet1... The only thing you should need to add in there is the information for eth0.. So it looks like this:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
Just tell it to use DHCP and your router will do the rest. If your on a static address, just fill out the other info and put 'no' for DHCP, then jump down to the bottom of the file and enter your Gateway Address as well.... I don't know how RH does it but it's very simple in Slak... Even if you do use DHCP, you can still tell it 'no' and statically set your info in this file....
You would still call on /etc/rc.d/rc.inet1 to start and stop as shreev suggests...
This is a logical problem. The ip of the gateway should be a different ipnumber to the one(s) used on the machine where you want to set the gateway. Normally it would be the ipnumber of whatever provides a connection to the outside world.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.