LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2003, 08:02 AM   #1
jatabe
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
Editing the Host file


I am running Linux 8.0

Can some one tell me how to edit the host file?

I can log in as a super User and go to the file. I can't edit it though.

I even broughtup the host file using the vi command but the file can notbe edited.

Any ideas?

Last edited by jatabe; 08-09-2003 at 08:25 AM.
 
Old 08-09-2003, 08:29 AM   #2
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Is it saying it's read only? If you are logging in as root (or su'ing to root from your normal acct) you should be able to write to your file... /etc/hosts.

If you do an "ls -l", what does the first line say? Mine looks like this:

Code:
-rw-r--r--    2 root     root          283 Aug  8 17:47 /etc/hosts
 
Old 08-09-2003, 08:55 AM   #3
jatabe
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I think I figured this out.
I however, have another problem.
I am trying to connect to the internet via a wireless PCMCIA card. My laptop is seeing the card. The wireless access point is assigning IPs via DHCP. . Ican't activate my Wirless PCMCIA Card.
I hit the activate tab and it says
"can not activate network device eth0"
So far the card works in other operating systems and had a driver in Linux 8.0 which I am running in my Laptop.

Please Help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
? on editing a file steve_f60 Linux - Software 4 09-20-2005 05:22 PM
file editing newdummy Linux - Newbie 5 03-18-2005 07:16 PM
Editing the boot file janjam_640 Linux - Newbie 1 01-24-2005 03:20 PM
File editing digger Linux - Newbie 3 01-28-2004 03:42 PM
editing movie file shanmugapriyan Linux - Software 1 08-29-2003 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration