From: Ken P. <ke...@gm...> - 2006-10-14 07:31:07
|
with your all help, I got the bridge network problem resolved, here is how I make it work. set coLinux MAC address same as wireless, then coLinux can get a good dhcp address and Internet connection is ok, the coLinux network config is like this, <network index="0" type="tap" mac="00:16:CF:45:F8:F4" /> The 00:16:CF:45:F8:F4 is my wireless MAC. Below is the screen that how coLinux get a good dhcp address. Sending on Socket/fallback/fallback-net DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPOFFER from 10.10.10.1 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 10.10.10.1 bound to 10.10.10.11 -- renewal in 3600 seconds. done. but the XP's Inetnet connection is lost, and the Bridge doesn't have a ip address, see below, Ethernet adapter Network Bridge: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : MAC Bridge Miniport Physical Address. . . . . . . . . : 02-FF-D0-D4-C0-D0 Dhcp Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Autoconfiguration IP Address. . . : 169.254.158.113 Subnet Mask . . . . . . . . . . . : 255.255.0.0 Default Gateway . . . . . . . . . : The wireless network signal strengh is very good, I tried to reboot the machine because wiki said someone has similar problem with DELL laptop and I'm also using Dell Wireless 1390 WLAN Mini-Card, but reboot doesn't help. then I tried another wiki resolution "Bridge May Not Work With a Non-Promiscuous Mode Network Adapter" like this, netsh bridge set adapter 2 forcecompatmode=enable C:\>netsh bridge show adapter ---------------------------------------------------------------------- ID AdapterFriendlyName ForceCompatibilityMode ---------------------------------------------------------------------- 1 coLinux Connection disabled 2 Wireless Network Connection enabled 3 Local Area Connection disabled ---------------------------------------------------------------------- now everything is ok, coLinux & Bridge both get their working dhcp address, and Inetnet connection is also ok. Thanks to you all. On 10/14/06, Bruce Pinsky <be...@pi...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Holger Krull wrote: > > Ken Perl schrieb: > >> I set the explicit MAC address in the coLinux config file and install > >> dhcp-client in debian, bridge wireless with coLinux network > > > >> I tried to set the same MAC address as wireless card for the coLinux > >> connection, this doesn't help, and also tried to set different MAC > >> address for coLinux connection, this also doesn't work. > > > > You have to set a different MAC address for the colinux connection. > > > > Can you ping your Windows host if you assign a static address to colinux? > > What is the output of route -n and ifconfig on colinux? > > Is the wireless connection to the router stable? > > > > > > > > I never got it to work with a different MAC address. Here is my current setup: > > Windoze > - ----------- > Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2915ABG Network > Connection > Physical Address. . . . . . . . . : 00-13-CE-89-F2-48 > > CoLinux > - --------- > eth1 Link encap:Ethernet HWaddr 00:13:CE:89:F2:48 > > > It is well documented here: > > http://wiki.colinux.org/wiki/Network#PCAP.2BWireless_issues > http://sourceforge.net/mailarchive/message.php?msg_id=9455968 > > as to why. > > Also the Wiki mentions possibly needing to run in non-promiscuous mode on > some wireless cards to successfully use bridging > > - -- > ========= > bep > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.4 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFL/QSE1XcgMgrtyYRAr7HAJ91kR8pL/s4ebyn4v1uZ5b03EKo1gCgtWx9 > ff9kxCzNOInMqbak/rrSbas= > =2Lr/ > -----END PGP SIGNATURE----- > -- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@`` ")' |