User(s) browsing this thread: 1 Guest(s)
|
DHCP client does not send hostname
|
|
04-07-2008, 08:53 AM
|
|||
|
|||
|
DHCP client does not send hostname
My DD-wrt router shows the hostname of the popcorn hour as * rather than pch-a100. I've looked in the init.d/S40network script and it looks like the hostname is not set in the do_netconfig() script. The following commands need to be added to the do_netconfig() script:
net_hostname=`/bin/pflash get hostname` echo "iface $interface inet dhcp" >> $net_config echo -e "\thostname $net_hostname" >> $net_config I tried adding the changes myself, but the /etc directory is on the ramdisk and it gets re-written when I reboot. -Scott I'm using the latest released versions of the firmware. |
|||
|
08-03-2009, 09:40 PM
(This post was last modified: 08-03-2009 09:41 PM by chrmhoffmann.)
|
|||
|
|||
|
RE: DHCP client does not send hostname
Hi,
anybody found a solution to this problem? It's a bit annoying to make a fixed dhcp rule. Chris |
|||
|
08-03-2009, 10:38 PM
|
|||
|
|||
|
RE: DHCP client does not send hostname
The OP was written over a year ago. Looking at the current /etc/init.d/S40network script on my A-100 it appears it has changed, but there's still no sign of the hostname!?
I could be wrong though (I'm far from an expert on this field too ) Perhaps a real *nix skilled person could verify how it works, and should work? The current S40network script on my A-100: Code: # cat S40network Audio, video, disco - I hear, I see, I learn. Wiki. Wiki? Wiki! |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| [Bug] UPnP client should not send SSDP requests from port 1900 | Ivan Mironov | 0 | 2,186 |
06-25-2011 12:54 AM Last Post: Ivan Mironov |
|
| Unable to resolve the hostname | Normi | 1 | 1,864 |
05-03-2011 06:48 PM Last Post: Pain |
|
| DHCP Server | skinnyPete | 1 | 1,255 |
06-09-2010 09:16 PM Last Post: johnpoz |
|
| DHCP client not sending hostname | Youx | 8 | 4,318 |
05-18-2010 05:58 PM Last Post: nuke12 |
|
| How can we disable uPnP client in Popcorn ? | gcpc | 22 | 9,775 |
11-05-2009 10:16 PM Last Post: MikeMcr |
|
| MMS:// streaming client - PLEASE! | JaixBly | 75 | 24,795 |
11-03-2009 10:36 AM Last Post: wvn |
|
| Feature Request: simple pop3 e-mail client | Falk | 4 | 2,173 |
04-26-2009 12:37 PM Last Post: simonantonanton |
|
| Feature Request Re: DHCP | nuke12 | 0 | 877 |
04-20-2009 09:07 AM Last Post: nuke12 |
|
| OneSwarm client | foffen | 2 | 1,816 |
03-31-2009 10:43 PM Last Post: sajmonl |
|
| edonkey/emule client | tiwas | 0 | 815 |
03-02-2009 01:19 AM Last Post: tiwas |
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]




![[+]](images/collapse_collapsed.gif)



)