Trouble preparing HD for slackware 11 install HELP!
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
IMHO that might be a configuration problem with your router. All internet traffic should go to the router, I think. It should send you the nameserver addresses that are then stored to /etc/resolv.conf. Does this file contain anything? Mine looks like this as an example:
Code:
# Generated by dhcpcd for interface eth0
search a-name-that-should-not-be-relevant-I-think
nameserver 217.237.151.205
nameserver 217.237.150.205
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
You could try to edit /etc/rc.d/rc.inet1.conf -- there is a line "GATEWAY=..." where you could state your router's address. I don't need that line, but who knows what it's good for ...
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
I think you're right about that. It should see any other nameserver.
Last try at the moment: I searched here on lq.net and found a way to keep a existing (good) resolv.conf file and not let it change each time the dhcp program is run. (The post is: http://www.linuxquestions.org/questi...53#post2431353)
So you could edit the file /etc/rc.d/rc.inet1.conf and change the eth0 section to contain a new line:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
DHCP_KEEPNTP[0]="yes"
Then edit your file /etc/resolv.conf and add (compare to mine) the dns addresses that you are using with your windows box Not elegant, but might work.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
I would not fill in the first two lines, not sure about the DHCP_HOSTNAME. The "USE_DHCP" line tells your computer to get the address and netmask from your router, so I would leave the first two empty.
Then edit your resolv.conf. I guess you know how to obtain the nameservers' addresses either from your windows box or from your router. Fill them in in that file (if you are not sure how it should look like then take my post as an example). Maybe once again restart rc.inet1 and rc.inet2. And pray
BTW what a mess. It should usually really be not that big problem to get simple networking/internet working on a Slackware box. It's pretty straight here -- set a host name, set dhcp yes and I'm up and running :-|
Alright, i've got everything, the only thing i'm a bit confused about is the name servers. In your version you had two name servers of slightly different numbers. Did you add the second one? I only have one
Quote:
titopoquito IMHO that might be a configuration problem with your router. All internet traffic should go to the router, I think. It should send you the nameserver addresses that are then stored to /etc/resolv.conf. Does this file contain anything? Mine looks like this as an example:
Code:
# Generated by dhcpcd for interface eth0 search a-name-that-should-not-be-relevant-I-think nameserver 217.237.151.205
nameserver 217.237.150.205
and mine down below
Quote:
Code:
# Generated by dhpccd for interface eth0 search ca.shawcable.net
nameserver 192.168.0.1
If you added it, where did you get it from? If not...do you know where I can get it from?
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
Mine was filled in automatically. Since this is not true for your computer (don't know why) you need to get them from your Windows box or router. Both have it, probably there's a status page if you call your router's web interface; or see on your Windows box under Network connections --> Properties or something like this.
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,634
Rep:
I gotta work now. I will look here every once in a while. Next step is anyway to edit resolv.conf and put in the nameservers' addresses. I have good hope that you then can use the net
How would i get them from my window's box?? do you mean the shell? The closet thing to two sets of Ip's is
DHCP server
The DI-624 can be setup as a DHCP server to distribute IP addresses to the LAN network.
DHCP server {X} enabled { } Disabled
Starting IP address 192.168.0.100
Ending IP Address 192.168.0.199
Lease time 1 week
think that could be it?
Yea...i agree this is pretty ridiculous!! I feel bad for you, and at the same time really thankful for your help, I wanna BEAT this problem down.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.