You are not logged in.

#1 2012-04-01 05:11:10

tsyijiu
Member
Registered: 2012-03-19
Posts: 6

Using netcfg create wifi access point--dhcpcd timed out

I want to create a wifi access point for my mobile phone. And I tried with netcfg according to what flammenwurfer  wrote in Using netcfg for an Ad-Hoc network, here is my profile script,

CONNECTION="wireless"
DESCRIPTION="Automatically generated profile"
INTERFACE="wlan0"
HOSTNAME="mylaptop"
IP="dhcp"
DHCP_TIMEOUT=10
ESSID="ytnet"
SECURITY="NONE"
KEY=""
SCAN="NO"
TIMEOUT=15
PRE_UP="ifconfig wlan0 down; iwconfig wlan0 mode ad-hoc; iwconfig wlan0 essid ytnet; ifconfig wlan0 up; dhcpcd wlan0"

And after I run command

netcfg mynetwork/tsyijiunet

get the result like this:

:: mynetwork/tsyijiunet up                                                     [BUSY] 
:: mynetwork/wifiap down                                                       [DONE] 
dhcpcd[7370]: version 5.5.4 starting
dhcpcd[7370]: wlan0: sending IPv6 Router Solicitation
dhcpcd[7370]: wlan0: sendmsg: Cannot assign requested address
dhcpcd[7370]: wlan0: broadcasting for a lease
dhcpcd[7370]: wlan0: sending IPv6 Router Solicitation
dhcpcd[7370]: wlan0: sending IPv6 Router Solicitation
dhcpcd[7370]: wlan0: sending IPv6 Router Solicitation
dhcpcd[7370]: wlan0: no IPv6 Routers available
dhcpcd[7370]: timed out
                                                                               [FAIL] 

I don't understand why does it need IPv6 Routers?

Offline

Board footer

Powered by FluxBB