SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hello all, I'm trying to get an Internet connection to my laptop running slack 10.1. I've been to the slack website and have followed the directions especially netconfig command.
My current setup is that I have a linksys wireless access point router (w/ the wi-fi turned OFF).
I connect my laptop (hardwired) to the router and then run netconfig which asked me to name my system and then my domain name. Netconfig then asked me for the dhcp option, which I choose. So basically I'm trying to get dhcp to work but It's not working because every time I run ping I get unknown address. Any help on this would be great, thank you.
Maybe your router does not tell your Linux box the IP address of a DNS Server?
and see eif that gives a response (www.linuxquestions.org has address 220.127.116.11). If you get a ping from the IP address, that means that your internet connection is OK, but that your name resolving does not work.
In most cases with a broadband router, that can be fixed by correctly configuring the router to hand out the IP address for your ISP's DNS server to any DHCP client that asks for a n IP address.
The dhcp client program in Slackware will use that information to re-write the file /etc/resolv.conf which should end up looking a little like:
Hey slack I tried what you mentioned but still no luck. Eric I also tried to ping linuxquestions and I got reponse stating the network is not reachable. Any help on this guys would help out alot. I can't figure out why my system won't take the needed info from my router. Anyhelp would be great. Thanks
Do you have any other systems on the router? Can they access the internet? Can you ping them? Log into your routers web control panel and click status and make sure that your router has properly picked up an ip address and some dns servers.
back on your computer try running
dhcpcd -d -k
which will restart your dhcp connection and output errors to syslog where you can view them with
tail -f /var/log/messages
this should give you an idea of where the problem is.
Ok I ran ifconfig -a and it comes back with eth0 and lo. So I'm assuming that the my system has found that there is a nic.
I'm sure my router is working ok because I have knoppix runing and it is using the Net fine.
I ran dhcpcd -d -k and the one time I got a message about the Internet Consortum (spelling) but then I ran the command again and I get a message telling me that dhcpcd is off. Now I ran /etc/rc.d/rc.inet1 restart so maybe this is why the system is now telling me that dhcpcd is off. Thanks for the help so far eveyone.
Once dhcp is off you can run the dhcpcd command with no -k switch to start it back up, the -d sets it to log to syslog. Check out man dhcpcd for more info. When you say you ran knopix, I'm assuming that it is on the same machine? So this isn't a cable problem?
I'm running knoppix on another system, but I just ran ubuntu (sp) on the system I'm trying to get net accces on (a laptop) and it worked fine so I'm sure its not the cable plus I don't think it's the router since I was able to ping my other machine fine.
To get dhcpcd to run I have to run dhcpcd -k -d? If so I tried this early but I will give it a shot again tomorrow. Thanks for the help.
Ok I tried dhcpcd -d, in return I get a mac address but still no net connection because then I ran ping yahoo and I get unknown host. I also ran ifconfig any my eth0 is still not finding and of my DHCP settings.
I read the man for dhcpcd and found that I can log messages from the service . According to the man if I add the lines local0.* /var/log/dhcpcd.log, and then "refresh" it by running kill -1 'cat /var/run/syslogd.pid', it should record what is going on but I get a reply fron the system stating arguments must be process or job IDs.
Any help on resolving this would be great, thank you.
I'm having the same issue. Converting a VPR Matrix FT4100 PC to a Linux machine. Ethernet card is integrated Intel 10/100. Internet connection is DSL into a Netgear MR314 router. DHCP is working on the router, have Windows XP and Two Laptops running XP connecting to the router via wireless. The network card and the router both show the wire is good and connected, but no traffic.
Ping returns "Network unreachable:"
"dhcpcd eth0" returns the MAC address of the card, then stops responding, if I leave it sit it will eventually return to my root prompt.
dhcpcd -d -k returns dhcp:not running
./rc.inet1 restart returns dhcp not running and dhcp:MAC address
then sits and eventually returns to the root prompt.
In KDE xwindows under network interfaces the only interface shown is lo with IP 127.0.0.1 Mask 255.0.0.0 Type Loopback.
ifconfig -a returns
eth0 Link encap:Ethernet HWaddr: MAC Address
BOADCAST MULTINET MTU:1500 Metric:1
RX packets: 0 .....
TX packets: 48 .....
RX bytes 0 .....
Interrupt 11 Base Address:0xb000
lsmod does not return a eth0 module or atleast nothing in the "used by" list looks like my network card
Never had problems with the Fedora Core or Mandrake on Windows Virtual Machine obtaining their own address off the router. I think I'm missing some kind of driver that tell slackware how to use my card, but I'm open to any other things that would solve my problem.