-
Noob question - don't laugh please
I'm doing a remaster and I've started it - following the RemasterHowTo in this site.
OK so I'm setting the internet after I chroot - how the heck do I edit /etc/resolv.conf ???? And does it hurt if I'm using an ADSL connection
I know I am really noobish but I've never had much experience.
-
Senior Member
registered user
I would recommend getting yourself familiar with mc. It will make your life easier. So you can simply do mc in a term and then navigate to /etc, arrow down to resolv.conf and hit F4. Make your changes and then F2 to save.
Why do I like mc so much? It's the same whether in text mode or X.
-
as long as your connection is not AOL, there is nothing wrong with it.
About editing the file, try eMacs, it's an editing software for terminal.
in the terminal:
Code:
emacs /etc/resolv.conf
that'll do it.
ok, bye.
hernan
-
Thanks for the help guys..
I've did what hernan said and tried to edit it while chrooted:
emacs: Cannot connect to X server :0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.
So I rebooted and started from scratch BUT editing /<pathofremaster>/etc/resolv.conf BEFORE chrooting. It opened emacs and let me save it after editing.
The internet connection won't work!
I'm sure i got the IP of my ISP's DNS right but when I pinged google I didn't work.
How do I make the internet connection work?
BTW I'm using ADSL/PPPOE configuration script available on the Knoppix 3.2 CD.
-
Might as well bump this or no one will notice
-
try "emacs -nw /etc/resolv.conf"
or try vi
you'll need to read abit to get vi to work.
or just
echo "nameserver 1.2.3.4" >> /etc/resolv.conf
hope that helps
-
ghez
I can't believe I'm responding to this...
nano
is the simplest.
It has the instructions on screen.
If you want to use vim (I'm addicted... but it's not neccisaryily a good thing)
try:
vimtutor
first.
Similar Threads
-
By whooda in forum General Support
Replies: 0
Last Post: 04-01-2004, 03:13 AM
-
By zombi3 in forum General Support
Replies: 5
Last Post: 12-25-2003, 07:05 AM
-
By mstlyharmlss in forum General Support
Replies: 2
Last Post: 11-08-2003, 09:19 PM
-
By philski27 in forum General Support
Replies: 3
Last Post: 11-08-2003, 01:17 AM
-
By iamanewbie in forum General Support
Replies: 14
Last Post: 10-24-2003, 05:34 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$755.99

Samsung SSD Solid State Drive MZ-VL25120 512GB
$54.99

ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive
$199.99

Samsung 870 EVO 500GB 2.5” SATA III Internal SSD MZ-77E500 SSD - Good Health
$59.99

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps
$40.99

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black
$29.00

Netac 1TB 512GB 256GB Internal SSD 2.5inch SATA Solid State Drive lot PC Laptop
$1790.00

256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING
$23.50

Netac 120GB 256GB 1TB 2TB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$75.99

Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive
$199.00