flareback Posted January 30, 2007 Posted January 30, 2007 Ok, I've been trying to set up my network to allow a linux machine to connect through the wireless card on a windows machine. Well I can get to the internet if I type in the IP address of the website (such as 64.233.167.104 for google), but if I type google.com it won't find it. How can I fix this? I just want this up and running to be a folding rig. Quote Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted January 30, 2007 Posted January 30, 2007 Using ICS? If so running the following should sort it, by the sounds of it. echo 'nameserver <windows machine ip here>' > /etc/resolv.conf e.g echo 'nameserver 192.168.0.1' > /etc/resolv.conf Quote Share this post Link to post Share on other sites More sharing options...
flareback Posted January 30, 2007 Posted January 30, 2007 thanks markiemrboo, that got it. I do have one final question though where do I change my settings so I don't have to type everything in everytime I reboot? right now I have to type ifconfig eth0 192.168.0.2 up route add default gw 192.168.0.1 eth0 echo 'nameserver 192.168.0.1' > /etc/resolv.conf to be able to access the network, access the internet and not have to type in ip address respectively. I'm using vector linux (slackware based). It's not a big deal because I won't reboot that often since this machine will be folding, but I'd like to know cause i just want to learn linux. Quote Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted January 30, 2007 Posted January 30, 2007 (edited) thanks markiemrboo, that got it. I do have one final question though where do I change my settings so I don't have to type everything in everytime I reboot? right now I have to type ifconfig eth0 192.168.0.2 up route add default gw 192.168.0.1 eth0 echo 'nameserver 192.168.0.1' > /etc/resolv.conf to be able to access the network, access the internet and not have to type in ip address respectively. I'm using vector linux (slackware based). It's not a big deal because I won't reboot that often since this machine will be folding, but I'd like to know cause i just want to learn linux. To be absolutely honest, I have forgotten where this is in Linux Since slackware uses a BSD style init system though, do you happen to have /etc/rc.conf? EDIT: apparently not. http://sluglug.ucsc.edu/pipermail/sluglug/...ust/019653.html Possibly answers your question Edited January 30, 2007 by markiemrboo Quote Share this post Link to post Share on other sites More sharing options...
flareback Posted January 30, 2007 Posted January 30, 2007 thanks Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.