[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wireless letworking



On Mon, 2003-09-22 at 05:51, Philippe Dhont (Sea-ro) wrote:
> Hi,
> 
> I have an orinoco wireless netcard and installed the module, tools, pcmcia
> installation, kernel configuratione
> And the card is recognized by cardmgr, so no problems around here.
> I configured network.opts so that it reads the interfaces file and in
> interfaces i made eth1 with an ip and everything.
> When the card is online, i can ping to it's own address, that's working.
> But in the config.opts where i have to insert the parameters for the
> encryption etc... I put in all the data i *think* that is necessary for here
> and i thought that it should be possible to ping to other hosts via the
> wireless netcard at that point.

I have never used config.opts for that sort of thing, I have always just
configured the card using /etc/network/interfaces and up statements.
Have you tried using iwconfig manually to set the essid/mode/channel
etc? Here's an example of the config stanza I use for my wireless card
(a prism2/orinoco card).

iface eth1 inet static
        address 192.168.150.13
        netmask 255.255.255.0
        gateway 192.168.150.1
        up iwconfig eth1 mode ad-hoc essid roach channel 5
        up cp /etc/resolv.conf /etc/resolv.conf.wlan.bak
        up cp /etc/resolv.conf.wlan /etc/resolv.conf
        down cp /etc/resolv.conf.wlan.bak /etc/resolv.conf
        broadcast 192.168.150.255
        network 192.168.150.0

You can ignore the resolv.conf stuff of course

-Mark



Reply to: