| The Following User Says Thank You to Flea_Flicker For This Useful Post: | ||
|
|
2008-05-02
, 21:42
|
|
Posts: 225 |
Thanked: 59 times |
Joined on Jul 2007
|
#2
|
|
|
2008-05-03
, 08:43
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
|
|
2008-05-03
, 09:39
|
|
|
Posts: 1,540 |
Thanked: 1,045 times |
Joined on Feb 2007
|
#4
|
Okay, here's a dumb question, something I'm sure will be obvious...
I'm trying to set the hostname on my tablet in such a way that it will be picked up on my network, by my router, and so forth.
From Google I've discovered that these tablets use uDHCPc, a simpler dhcp client for these types of devices. Great. And, it looks to me like there's a file, etc/udhcp/default.bound which has a line, commented out, that allows you to set your hostname. Again, great.
The problem is, and the part that makes this a dumb newbie question - I can't seem to edit this sucker in vi. I can go into insert mode, but when I 'Esc' and try and save and quit (:wq) I get messages like 'w is not implemented' which makes me think I'm missing something basic.
I just successfully used vi to edit another config file, so I don't know what I'm missing ...
OR ... can someone tell me how to use vim as root, accessing the whole file directory structure and not the little sandbox that the GUI applications seem to want users to play in ...
|
|
2008-05-03
, 09:40
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#5
|

|
|
2008-05-03
, 09:51
|
|
|
Posts: 1,540 |
Thanked: 1,045 times |
Joined on Feb 2007
|
#6
|
the part that makes this a dumb newbie question - I can't seem to edit this sucker in vi.
| The Following User Says Thank You to krisse For This Useful Post: | ||
|
|
2008-05-03
, 09:57
|
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#7
|
That's NOT a newbie question, that's an advanced user's question. :-)
Newbies wouldn't know what vi is. I don't know what vi is if I'm being totally honest.

|
|
2008-05-03
, 17:30
|
|
Posts: 225 |
Thanked: 59 times |
Joined on Jul 2007
|
#8
|

|
|
2008-05-03
, 19:33
|
|
|
Posts: 566 |
Thanked: 145 times |
Joined on Feb 2008
@ Tallahassee, FL
|
#9
|
|
|
2008-05-03
, 20:13
|
|
Posts: 225 |
Thanked: 59 times |
Joined on Jul 2007
|
#10
|


I'm trying to set the hostname on my tablet in such a way that it will be picked up on my network, by my router, and so forth.
From Google I've discovered that these tablets use uDHCPc, a simpler dhcp client for these types of devices. Great. And, it looks to me like there's a file, etc/udhcp/default.bound which has a line, commented out, that allows you to set your hostname. Again, great.
The problem is, and the part that makes this a dumb newbie question - I can't seem to edit this sucker in vi. I can go into insert mode, but when I 'Esc' and try and save and quit (:wq) I get messages like 'w is not implemented' which makes me think I'm missing something basic.
I just successfully used vi to edit another config file, so I don't know what I'm missing ...
OR ... can someone tell me how to use vim as root, accessing the whole file directory structure and not the little sandbox that the GUI applications seem to want users to play in ...