You are not logged in.

#1 2009-07-20 07:58:00

MONODA
Member
Registered: 2008-02-09
Posts: 256

dhcpcd unknown option

Hi I am using netcfg to connect to my wireless network and it has been working perfectly until the kernel upgrade to 2.6.30. Once I upgraded, whenever I would run 'netcfg network', it would print "dhcpdp: unknown option hostname" twice then it would connect. I thought it would be a problem with my hosts file but that seems properly set up. Anyway, here it is along with the networking part of my rc.conf:

#
127.0.0.1        localhost.localdomain    localhost dany-laptop
64.233.169.103        www.google.com        g
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
HOSTNAME="dany-laptop"

eth0="dhcp"
INTERFACES=(eth0)

gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

NETWORKS=(haddadhome ziyad)

DAEMONS=(@syslog-ng @network @hal @cpufreq @crond @alsa)

Offline

#2 2009-07-20 08:03:24

MONODA
Member
Registered: 2008-02-09
Posts: 256

Re: dhcpcd unknown option

Oh and here are iwconfig and ifconfig:

lo        no wireless extensions.

eth0      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"haddadhome"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:21:29:CA:91:B8   
          Bit Rate=54 Mb/s   Tx-Power=15 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Encryption key:* [2]   Security mode:open
          Power Management:off
          Link Quality=70/70  Signal level=-25 dBm  Noise level=-127 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
eth0      Link encap:Ethernet  HWaddr 00:1B:24:0C:FA:4D  
          inet addr:169.254.42.11  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Memory:da000000-da020000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:1B:77:0B:F4:B4  
          inet addr:192.168.0.102  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:77ff:fe0b:f4b4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1752 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1712 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1075664 (1.0 Mb)  TX bytes:387587 (378.5 Kb)

wmaster0  Link encap:UNSPEC  HWaddr 00-1B-77-0B-F4-B4-00-00-00-00-00-00-00-00-00-00  
          UP RUNNING  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Last edited by MONODA (2009-07-20 08:09:59)

Offline

#3 2010-04-19 23:04:30

Saint
Member
From: Chile
Registered: 2008-10-23
Posts: 2
Website

Re: dhcpcd unknown option

I got the same error, but with the eth0 interface.
the solution was to modify the DHCPCD_ARGS in /etc/conf.d/dhcpcd.

Can you show the /etc/conf.d/dhcpcd contents?


Let's share the wisdom!

Offline

Board footer

Powered by FluxBB