-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hmmm, ok. Well, I'm stumped as to what the problem could be
then, sorry.

Greg


On Mon, Aug 25, 2008 at 09:43:19PM -0600, [EMAIL PROTECTED] wrote:
> Hi
> 
> The first command ifconfig assigns eth0 its configuration, the second
> command associates the network device br0 (normally eth0 or eth1) with my
> local network, without this command I (the host, not the guest) have no
> communication with the other local hosts... the second route (not shown
> here) associates the network interface with the default gateway so it is
> able to go out to internet.
> 
> The route commands were borrowed from /etc/rc.d/rc.inetd and adapted to my
> wireless cards, whithout both of them there is no local network nor
> internet.
> 
> This is the script I use to setup my wireless cards (works equal with the
> wired cards just ignoring the iwconfig commands) and the same commands are
> applied to br0 (WITHOUT iwconfig)
> 
> ------------------------------------------------------
> 
> if [ ! $1 ]
> then
>    echo "Use: " $0 "<dynamic> <nick> <essid> [key]"
>    echo "     " $0 "<x.y.z.w> <nick> <essid> [key]"
>    echo "     " $0 "<unload>"
>    exit
> fi
> 
> ifconfig $1 down
> rmmod ipw2200
> 
> if [ $1 == unload ]
> then
>    echo "++++++++++++++++++++++++++"
>    echo "+    Unloading driver    +"
>    echo "++++++++++++++++++++++++++"
>    exit
> fi
> 
> /sbin/modprobe ipw2200 led=1
> 
> iwconfig eth1 mode Managed
> iwconfig eth1 txpower 20
> iwconfig eth1 sens 2
> #iwconfig eth1 channel 11
> iwconfig eth1 rate auto
> 
> # SET NICKNAME
> if [ $2 ]
> then
>    iwconfig eth1 nickname $2
> fi
> 
> # SET ESSID
> if [ $3 ]
> then
>    iwconfig eth1 essid "$3"
> fi
> 
> # SET NETWORK KEY
> if [ $4 ]
> then
>    iwconfig eth1 key $4
> else
>    iwconfig eth1 key off
> fi
> 
> if [ $1 != "dynamic" ]
> then
>    echo "++++++++++++++++++++++++++++++++++++++"
>    echo "+    Setting wireless to fixed IP    +"
>    echo "++++++++++++++++++++++++++++++++++++++"
>    ifconfig eth1 down
>    ifconfig eth1 $1 netmask 255.255.255.0
>    route add -net 192.168.1.0 netmask 255.255.255.0 dev eth1
>    route add default gw 192.168.1.254 dev eth1
>    ifconfig eth1 up
> else
>    echo "++++++++++++++++++++++++++++++++++++++++"
>    echo "+    Setting wireless to dynamic IP    +"
>    echo "++++++++++++++++++++++++++++++++++++++++"
>    dhcpcd -t 15 -d eth1
> fi
> 
> ------------------------------------------------------
> 
> This is the script I use everyday to setup my wifi, just translated it
> from eth1 to br0 ... Note that VirtualBox manual says that bridging does
> not work on most wireless interfaces, but it works in my laptop. With NAT
> works *everything* including internet except bidirectional communication
> that requires port forwardind... with Host Interface it works everything
> except that the guest is unable to reach the gateway 192.168.1.254 (all
> other ip's are accesible) with any kind of service (ping, http) and in
> consequence there's no internet.
> 
> If you think anyway the problem is the wireless, I tried with the wired
> eth0 connection and it does exactly the same, host interface has no
> internet.
> 
> 
> Am really getting crazy :'(
> 
> 
> Regards
> 
> 
> 
> _______________________________________________
> vbox-users mailing list
> [email protected]
> http://vbox.innotek.de/mailman/listinfo/vbox-users
> 

- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkizi3UACgkQ7s9z/XlyUyCYBQCg1aqiRXVCIU7I26V1YYGsJHDj
8I4AnRHhSyNrIwRxSjNLgVeMi69w/Td8
=2Wil
-----END PGP SIGNATURE-----

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to