Wireless letworking

2003-09-22 Thread Philippe Dhont (Sea-ro)
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.

But this is not working, can't ping to other hosts.
How can i complete my configuration ? Or where can i get more information ?

Grtz!
Philippe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Wireless letworking

2003-09-22 Thread Mark Roach
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Wireless letworking

2003-09-22 Thread christophe barbe
On Mon, Sep 22, 2003 at 04:12:55PM -0400, Mark Roach wrote:
 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

At least in debian/unstable ifupdown, iwconfig support is integrated.
That means that you don't need to use the up clause but can write things
like:

iface eth1 inet static
address 192.168.150.13
netmask 255.255.255.0
gateway 192.168.150.1
essid roach

See man interfaces for more details.

Christophe

-- 
Christophe Barbé [EMAIL PROTECTED]
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E

As every cat owner knows, nobody owns a cat.
--Ellen Perry Berkeley


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Wireless letworking

2003-09-22 Thread Shyamal Prasad
christophe == christophe barbe [EMAIL PROTECTED] writes:

christophe At least in debian/unstable ifupdown, iwconfig support
christophe is integrated.  That means that you don't need to use
christophe the up clause but can write things like:

This is also true in debian/stable (and I can't remember for sure, but
it might even have been true in potato, it's been a while.?).

christophe iface eth1 inet static
christopheaddress 192.168.150.13
christophenetmask 255.255.255.0
christophegateway 192.168.150.1
christopheessid roach

Cheers!
Shyamal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]