Hi!

On Sun, Dec 03, 2006 at 02:35:29PM +0000, Matthias Kellermann wrote:
> I've done the following:
> 
> wlanconfig ath0 destroy
> wlanconfig ath0 create wlandev wifi0 wlanmode ap
> iwconfig ath0 essid FreeWRT
> iwconfig ath0 channel 6
> ifconfig ath0 up

Well, if ifconfig is aliased to ip, the final call to ifconfig probably
won't work. As it is with aliases, I'm not sure at all, if it is found
inside a script. As `ip' is the default (and also internally) used tool,
it could be a generally good idea to replace the last statement with the
equivalent one for `ip', i.e.: "ip link set ath0 up"

> BTW:  "ifconfig ath0 ip" doesn't work. I'm getting:
> ip: either "dev" is duplicate, or "192.168.1.10" is a garbage.

See above.
To add an IP address to an interface use "ip addr add <ADDR> dev <DEVICE>"

Greetings, Phil

Attachment: pgpDDOkyaJhjz.pgp
Description: PGP signature

_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to