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!
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.
Hey guys I need help with a little someting, my computer connects through the other computer we have in order to connect to the internet (ie: the other computer is the gateway and has a shared connection) my computer is SuSE 9.1 just installed and the other computer is Windows XP SP2, i went into YaST and setup all the IPs and stuff for my NIC and i can see the otehr computer's files through smb:/
my computer (suse 9.1):
Originally posted by freakyg Personally, I would $NEVER let a windows box act as a router/firewall for a linux box at all.......windows can't be trusted with all the script kiddies in the world today!!
BUT, pppoe........"ppp over ethernet" is the program you might read up on.........
lol sorry i can't coz the main connection is only through the windows box and we'll have to drill another hole to get the main connection to the linux box :s
Originally posted by michaelk Is your XP configured for Internet Connection Sharing?
Is the linux PC using a static IP or DHCP?
If using a static IP address you will need to set the gateway address as 192.168.0.1 and add the DNS info from XP to the /etc/resolv.conf file.
If using DHCP then make sure the gateway address is set correctly and the DNS nameserver info is in the /etc/resolv.conf file.
This thread will get better exposure if moved to networking.
yea both computers are static IPs i did specify they IPs above
yea i did set the gateway to 192.168.0.1 on my linux box and i saw a couple of icons starting with 'DNS.....' on YaST can't i configure it from there? or the only way is through the /etc/resolv.conf file?
Yea, he already said that would involve another hole in the wall.
On the windows machine, I'm assuming there are two NICs, one for internet access, one connecting to the linux box? (I did this for a long time before I broke down and bought a wireless router... windows machine = not portable, linux laptop = portable :-/)
Anyway, when you share the connection on the XP machine, you can tell it to act as a DHCP server (I think this is the default setting, but even if it isn't I know there's a way because I had it working.)
Once that's set up you can configure your linux NIC to use automatic DHCP, and the Windows box oughta give you an IP address and recognize you for ICS.
yea the windows machine has 2 adapters one to the internet and one connected to my computer
ok so i went to the internet conection on the windows machine and went to settings under ICS and selected both DHCP boxes and then restarted and then i went to the linux box and i set it to get everything automatically from DHCP and the gateway to 192.168.0.1 and then i added the line 'nameserver 192.168.0.1' to the resolv.conf
i'm just making sure im diong it right because when i open knoqueror it doesn't open anything i still dont get a connection no it, did i do anything wrong? :s
Seems like you did everything ok... after you change the config, try running
You'll probably have to run these as root, and it should get you a new ip for your NIC. --Simply rebooting might even solve it if you haven't tried that already.. the machine needs time to re-parse the config files
hmm i'll see i'll talk to parents about getting a router coz it does sound a little better and i dont really like how my computer is suposed to connect to the internet, i'll let you guys know what happened thx everyone
oh btw i just tried the 2 commands pokemaster said to use and the dhcpcd -k outputed ******* : dhcpcd not running
and the dhcpcd eth0 game me a new line and the cursor was just sitting htere doing nothing