-
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
![USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture](/store/img/g/EI0AAOSwsBpju-XZ/s-l225/USB-Flash-Drive-Memory-Stick-Pendrive-Thumb-Drive-.jpg)
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$239.38
![Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture](/store/img/g/oroAAOSwsJNmFPcr/s-l225/Type-C-USB-3-0-Flash-Drive-Thumb-Drive-Memory-Stic.jpg)
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
![1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture](/store/img/g/PDMAAOSwlhdmFJ5R/s-l225/1TB-2TB-USB-3-0-Flash-Drive-Thumb-U-Disk-Memory-St.jpg)
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
![Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture](/store/img/g/H94AAOSw8zNjfbQ9/s-l225/Sandisk-16GB-32GB-64GB-128GB-Cruzer-Blade-Flash-Dr.jpg)
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$138.90
![Lenovo Metal 2tb USB Flash Drive USB 3.0 High Speed File Transfer U Disk 16tb 8t picture](/store/img/g/nJcAAOSwLZlmaBE8/s-l225/Lenovo-Metal-2tb-USB-Flash-Drive-USB-3-0-High-Spee.jpg)
Lenovo Metal 2tb USB Flash Drive USB 3.0 High Speed File Transfer U Disk 16tb 8t
$7.99
![Lenovo Flash Drives 2TB Usb 3.0 Mini High Speed Metal Pendrive. picture](/store/img/g/g-MAAOSwXOtmZxRL/s-l225/Lenovo-Flash-Drives-2TB-Usb-3-0-Mini-High-Speed-Me.jpg)
Lenovo Flash Drives 2TB Usb 3.0 Mini High Speed Metal Pendrive.
$9.99
![Lenovo 2TB USB Flash Drive 3.0, USB Flash Drive, High Speed Dr, New, Drk Silver picture](/store/img/g/fIsAAOSwkSNmZPNx/s-l225/Lenovo-2TB-USB-Flash-Drive-3-0-USB-Flash-Drive-Hig.jpg)
Lenovo 2TB USB Flash Drive 3.0, USB Flash Drive, High Speed Dr, New, Drk Silver
$9.99
![64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive picture](/store/img/g/1Q4AAOSwDeRivXJz/s-l225/64GB-USB-3-0-Flash-Drive-USB-Memory-Stick-High-Spe.jpg)
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$6.99
![SanDisk Ultra Flair USB 3.0 Flash Drive Memory 16GB 32GB 64GB 128GB 256GB 512GB picture](/store/img/g/QSEAAOSwV4xlKcuD/s-l225/SanDisk-Ultra-Flair-USB-3-0-Flash-Drive-Memory-16G.jpg)
SanDisk Ultra Flair USB 3.0 Flash Drive Memory 16GB 32GB 64GB 128GB 256GB 512GB
$241.99
![USB Flash Drive Thumb Drive Memory Stick Pendrive 4GB, 8GB, 32GB, 64GB 128GB LOT picture](/store/img/g/F24AAOSw8TNj9zeD/s-l225/USB-Flash-Drive-Thumb-Drive-Memory-Stick-Pendrive-.jpg)
USB Flash Drive Thumb Drive Memory Stick Pendrive 4GB, 8GB, 32GB, 64GB 128GB LOT
$308.13