-
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
![Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture](/store/img/g/2mYAAOSwmulmdXzA/s-l225/Dell-OptiPlex-3060-MICRO-DESKTOP-PC-COMPUTER-I5-8T.jpg)
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$295.00
![Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB picture](/store/img/g/g9wAAOSwtb5mMUYG/s-l225/Apple-2019-Mac-Pro-28-Core-Xeon-W-3275M-96GB-RAM-1.jpg)
Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB
$2999.97
![Dell 5500 15.6](/store/img/g/tzcAAOSwQCJmIUYZ/s-l225/Dell-5500-15-6-Touch-Light-Gaming-Laptop-Intel-Cor.jpg)
Dell 5500 15.6" Touch Light Gaming Laptop Intel Core i5 4.10GHz 64GB RAM 2TB SSD
$467.00
![Dell 14](/store/img/g/6CgAAOSw80lltRSe/s-l225/Dell-14-TOUCHSCREN-Laptop-8th-Gen-Core-i5-16GB-RAM.jpg)
Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11
$199.00
![AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+ picture](/store/img/g/cnkAAOSwfAxmfw-e/s-l225/AMD-FX-8350-4-0GHz-8-Core-CPU-Processor-FD8350FRW8.jpg)
AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+
$50.00
![AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture](/store/img/g/3isAAOSw~lNmI3aE/s-l225/AMD-Ryzen-7-7800X3D-8-Core-16-Thread-4-2-GHz-5-0-G.jpg)
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
![Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory... picture](/store/img/g/sSgAAOSwm3JmUI62/s-l225/Dell-Inspiron-142-in-1-Touch-Laptop-Intel-Core-5-P.jpg)
Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory...
$749.99
![Intel Core i7-7700 SR338 3.60GHz 8MB Quad Core LGA1151 Processor CPU picture](/store/img/g/A68AAOSwRuNmgFLF/s-l225/Intel-Core-i7-7700-SR338-3-60GHz-8MB-Quad-Core-LGA.jpg)
Intel Core i7-7700 SR338 3.60GHz 8MB Quad Core LGA1151 Processor CPU
$69.00
![Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture](/store/img/g/1UcAAOSwYS9lXgtq/s-l225/Lenovo-IdeaCentre-3-07IRB8-Desktop-Intel-Core-i5-1.jpg)
Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H
$349.99
![New HP 24](/store/img/g/TWcAAOSw2QlmXTVp/s-l225/New-HP-24-All-In-One-Desktop-Computer-11th-Gen-i3-.jpg)
New HP 24" All In One Desktop Computer 11th Gen i3 Up To 32GB RAM 2TB SSD Win 11
$409.99