-
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 PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w
$174.95

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99

Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping
$34.99

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays
$349.99

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays
$259.99

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Core | 32GB | HBA330 | 2x 1100w
$359.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
![WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER RDS CAL SEALED picture](/store/img/g/Fn8AAOSwCcpn9N3z/s-l225/WINDOWS-SERVER-2025-REMOTE-DESKTOP-SERVICES-50-USE.jpg)
WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER RDS CAL SEALED
$119.18

Supermicro 721-2 Mini Tower Black Computer Server NO Hdd
$375.00