AleXxiO Posted February 6, 2005 Report Share Posted February 6, 2005 Please I need help with this!! I want to surf with ADSL via eth0 but I can't!! my version is 10.0 and i installed drake-everything....but i didn't solve... i can ping the other pcs on the network (i have a router) and i can ping google, but the browser does not go!!!please i'm stuck!! i did the commands ifconfig eth0 192.168.1.4 netmask 255.255.255.0 and route add default gw 192.168.1.1 !!! i don't know what else can i do!!! :( [edited by spinynorman] Quote Link to comment Share on other sites More sharing options...
arctic Posted February 6, 2005 Report Share Posted February 6, 2005 do the following, if you have an ext2 or ext3 filesystem (it won't work with reiserfs!): open your /etc/resolv.conf file as root and add some different nameserver in it. you can find the dns-addresses of your isp usually using google. if not, call them and ask for the nearest dns-server. your resolv.conf should look like this: nameserver 217.237.150.225 (this is a german dns-server that works for me) now save the file. open a terminal, still as root and type chattr +i /etc/resolv.conf this will make the file immutable, so it will keep the nameserver even after a reboot. remember however that this does not work with a reiserfs filesystem. now open firefox (in case you use it), type !about:config" in the addressbar and type "ipv" in the appearing search bar. click on the "false" value in the "disable ipv6" entry and change it to "true" if you use reiserfs, you can use the firefox-thing, nonetheless, but downloading emails or updating the system won't work, unless you fing the site from a terminal. the only workaround could be: 1.) modify the dhclient-script and change the "prepend 127.0.0.1" entry to e.g. "prepend 217.237.150.225". if that does not work, perhaps using "supersede" instead of "prepend" might work. 2.) install a different client. "pump" is known to work, but i have the impression that pump is a bit slower. these are the fastest ways of getting rid of the problem. there are other possibilities but if they are not needed, the better. good luck. :) Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted February 6, 2005 Author Report Share Posted February 6, 2005 i use ext2.. i can't modify the file resolv.conf until i'k not root...how can i be root? if i type in the console su (& pwd) i have not access on graphic interface files!! Quote Link to comment Share on other sites More sharing options...
arctic Posted February 6, 2005 Report Share Posted February 6, 2005 type the following in a terminal: su <now enter password> kedit /etc/resolv.conf if kedit won't open (depending on which desktop you use and what packages you have installed), try kwrite or any other editor Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted February 6, 2005 Author Report Share Posted February 6, 2005 (edited) can't save that way...i'll use the only methid i know...deleting any other user....but have i to do this way every time i have to modify files? Edited February 6, 2005 by AleXxiO Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted February 6, 2005 Author Report Share Posted February 6, 2005 (edited) can't even this way!!!! i'm going crazy! how can i save the resolv.conf??? :(:(:( Edited February 6, 2005 by AleXxiO Quote Link to comment Share on other sites More sharing options...
arctic Posted February 6, 2005 Report Share Posted February 6, 2005 in case the command line is too troublesome for you: change the login-manager in the mandrake-control-center from mdkdm to kdm or gdm. that way, you get a root desktop, where you can open and modify the file. if it refueses to work, i hope that you didn't do chattr+i before saving the file. in this case, use chattr -i /etc/resolv.conf to restore it. Quote Link to comment Share on other sites More sharing options...
AleXxiO Posted February 6, 2005 Author Report Share Posted February 6, 2005 ok it has gone!! that was the problem, making the file immutable!! i did chattr +i before saving cause i didn't think somewho could change it (cause i inserted yesterday the right dns!!)..now it goes!! :D very thanks boy!! Quote Link to comment Share on other sites More sharing options...
arctic Posted February 6, 2005 Report Share Posted February 6, 2005 ok it has gone!! that was the problem, making the file immutable!! i did chattr +i before saving cause i didn't think somewho could change it (cause i inserted yesterday the right dns!!)..now it goes!! :D very thanks boy!! <{POST_SNAPBACK}> de nada! :) Quote Link to comment 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.
Note: Your post will require moderator approval before it will be visible.