From: Ken P. <ke...@gm...> - 2006-10-09 14:08:02
|
I'm trying to follow the instruction under the section http://wiki.colinux.org/wiki/Network#WinPcap to config the bridge ethernet, after I configured this in coLinux side, <network index="0" type="tap" /> <network index="0" type="bridged" name="Connection Name" /> what to do next step? -- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@`` ")' |
From: Holger K. <hol...@gm...> - 2006-10-09 17:53:04
|
Ken Perl schrieb: > I'm trying to follow the instruction under the section > http://wiki.colinux.org/wiki/Network#WinPcap to config the bridge > ethernet, after I configured this in coLinux side, > > <network index="0" type="tap" /> > <network index="0" type="bridged" name="Connection Name" /> > > what to do next step? Start colinux and give eth0 a network address. |
From: Holger K. <hol...@gm...> - 2006-10-09 17:57:31
|
Ken Perl schrieb: > I'm trying to follow the instruction under the section > http://wiki.colinux.org/wiki/Network#WinPcap to config the bridge > ethernet, after I configured this in coLinux side, > > <network index="0" type="tap" /> > <network index="0" type="bridged" name="Connection Name" /> > > what to do next step? I have to add, this will not work. You can only have one entry with network index="0". You have to delete the tap entry to use winpcap. After that, start colinux and give eth0 a network address. |
From: Holger K. <hol...@gm...> - 2006-10-10 12:51:48
|
Answer on the list please. Ken Perl schrieb: > sorry, the coLinux config file should be like this, a typo in previous > post mail. > > <network index="0" type="tap" /> > <network index="1" type="bridged" name="Connection Name" /> > > so I should still remove the tap entry? That depends on what you want to achieve. The way you put it now you would have eth0 attached to a TAP Adapter and eth1 to a Winpcap Driver. If you don't need 2 network adapters in colinux i recommend deleting the unnecessary entry and using the remaining as index 0. > and after that, give eth0 a > static network address or dhcp address? That depends on the existence of a dhcp Server in your network. Do you have one? Then you may use dhcp on eth1. If not a static address is necessary. > anything should be done in > windows XP side? Depends on which interface you want to use to connect to the outside world. |
From: Ken P. <ke...@gm...> - 2006-10-10 13:52:32
|
ok, I just want to do this, Priority 1) make the coLinux connect to Internet, so that I can install Debian packages. Internet connection sharing is disabled by IT administrator, so I have to try the bridge. priority 2) from XP, I can access and use the Apache/ModPerl or catalyst, or little X use in the coLinux/Debian I choose the bridge network approach, but I don't what's good method to setup the coLinux/XP network is better. could you advice? On 10/10/06, Holger Krull <hol...@gm...> wrote: > Answer on the list please. > > Ken Perl schrieb: > > sorry, the coLinux config file should be like this, a typo in previous > > post mail. > > > > <network index="0" type="tap" /> > > <network index="1" type="bridged" name="Connection Name" /> > > > > so I should still remove the tap entry? > > That depends on what you want to achieve. > > The way you put it now you would have eth0 attached to a TAP Adapter and eth1 to a Winpcap Driver. > If you don't need 2 network adapters in colinux i recommend deleting the unnecessary entry and using the remaining as index 0. > > > and after that, give eth0 a > > static network address or dhcp address? > > That depends on the existence of a dhcp Server in your network. Do you have one? Then you may use dhcp on eth1. If not a static address is necessary. > > > anything should be done in > > windows XP side? > > Depends on which interface you want to use to connect to the outside world. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > -- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@`` ")' |
From: Holger K. <hol...@gm...> - 2006-10-10 14:10:39
|
Ken Perl schrieb: > ok, I just want to do this, > > Priority 1) make the coLinux connect to Internet, so that I can > install Debian packages. Internet connection sharing is disabled by IT > administrator, so I have to try the bridge. > priority 2) from XP, I can access and use the Apache/ModPerl or > catalyst, or little X use in the coLinux/Debian > > I choose the bridge network approach, but I don't what's good method > to setup the coLinux/XP network is better. > > could you advice? As you are using Windows XP i would choose the TAP Adapter and bridge it on the windows side to your real ethernet adapter. Write down your TCP/IP settings somewhere and assign them to the bridge on the windows. Delete your network index=1 entry. If you have a DHCP Server on your network set colinux to use dhcp, if not assign eth0 a static but unique address from your subnet. |
From: Ken P. <ke...@gm...> - 2006-10-12 11:08:19
|
I removed the index=1 entry and now only one line in the config file, <network index="0" type="tap" /> I use pump to config dhcp client in Debian like this /etc/network/inferfaces, iface eth0 inet dhcp and then bridged the coLinux network connection with Ethernet card and set it as dhcp, this works great in my company. But don't work at home, I'm using the wireless card to do the bridge but the wireless card can't get a dhcp ip address, if I remove the bridge, it can get one. so what maybe the problem? On 10/10/06, Holger Krull <hol...@gm...> wrote: > Ken Perl schrieb: > > ok, I just want to do this, > > > > Priority 1) make the coLinux connect to Internet, so that I can > > install Debian packages. Internet connection sharing is disabled by IT > > administrator, so I have to try the bridge. > > priority 2) from XP, I can access and use the Apache/ModPerl or > > catalyst, or little X use in the coLinux/Debian > > > > I choose the bridge network approach, but I don't what's good method > > to setup the coLinux/XP network is better. > > > > could you advice? > > As you are using Windows XP i would choose the TAP Adapter and bridge it on the windows side to your real ethernet adapter. Write down your TCP/IP settings somewhere and assign them to the bridge on the windows. > Delete your network index=1 entry. > If you have a DHCP Server on your network set colinux to use dhcp, if not assign eth0 a static but unique address from your subnet. > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > -- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@`` ")' |
From: Holger K. <hol...@gm...> - 2006-10-12 11:18:20
|
Ken Perl schrieb: > I use pump to config dhcp client in Debian like this /etc/network/inferfaces, > > iface eth0 inet dhcp In recent debian versions this uses dhclient and not pump. Check if dhclient is installed. > and then bridged the coLinux network connection with Ethernet card and > set it as dhcp, > this works great in my company. > But don't work at home, I'm using the wireless card to do the bridge > but the wireless card can't get a dhcp ip address, if I remove the > bridge, it can get one. > so what maybe the problem? Try setting an explicit mac address for eth0 in your config. Like <network index="0" type="tap" mac="00:ff:39:29:51:50" /> |
From: Holger K. <hol...@gm...> - 2006-10-13 14:56:30
|
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? |
From: Bruce P. <be...@pi...> - 2006-10-12 15:00:58
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Holger Krull wrote: > Ken Perl schrieb: >> I use pump to config dhcp client in Debian like this /etc/network/inferfaces, >> >> iface eth0 inet dhcp > > In recent debian versions this uses dhclient and not pump. Check if dhclient is installed. > > >> and then bridged the coLinux network connection with Ethernet card and >> set it as dhcp, >> this works great in my company. >> But don't work at home, I'm using the wireless card to do the bridge >> but the wireless card can't get a dhcp ip address, if I remove the >> bridge, it can get one. > >> so what maybe the problem? > > Try setting an explicit mac address for eth0 in your config. Like > <network index="0" type="tap" mac="00:ff:39:29:51:50" /> > > I find that CoLinux bridge mode only works with wireless if you have an explicit MAC address set and you have a static IP set. The wireless card doesn't seem to want to pass packets if it has a different MAC address than the BIA. And if you try to do DHCP you end up being given the same address as the Windows wireless interface since the MAC address is the same. - -- ========= bep -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFLliIE1XcgMgrtyYRAsVxAJ9d/X3C3fqobTdCA6DD3/7eULbBvQCglMKg DDoIiJ0/L9peFeAH579FQFc= =+qQ1 -----END PGP SIGNATURE----- |
From: Ken P. <ke...@gm...> - 2006-10-13 14:36:20
|
I set the explicit MAC address in the coLinux config file and install dhcp-client in debian, bridge wireless with coLinux network connection, I still can't get the ip from dhcp server, then I switched to static ip for network bridge connection, but I still can't ping the gateway and connect to Internet. 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. I have no idea how to continue. On 10/12/06, Bruce Pinsky <be...@pi...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Holger Krull wrote: > > Ken Perl schrieb: > >> I use pump to config dhcp client in Debian like this /etc/network/inferfaces, > >> > >> iface eth0 inet dhcp > > > > In recent debian versions this uses dhclient and not pump. Check if dhclient is installed. > > > > > >> and then bridged the coLinux network connection with Ethernet card and > >> set it as dhcp, > >> this works great in my company. > >> But don't work at home, I'm using the wireless card to do the bridge > >> but the wireless card can't get a dhcp ip address, if I remove the > >> bridge, it can get one. > > > >> so what maybe the problem? > > > > Try setting an explicit mac address for eth0 in your config. Like > > <network index="0" type="tap" mac="00:ff:39:29:51:50" /> > > > > > > I find that CoLinux bridge mode only works with wireless if you have an > explicit MAC address set and you have a static IP set. The wireless card > doesn't seem to want to pass packets if it has a different MAC address than > the BIA. And if you try to do DHCP you end up being given the same address > as the Windows wireless interface since the MAC address is the same. > > - -- > ========= > bep > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.4 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFFLliIE1XcgMgrtyYRAsVxAJ9d/X3C3fqobTdCA6DD3/7eULbBvQCglMKg > DDoIiJ0/L9peFeAH579FQFc= > =+qQ1 > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > coLinux-users mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > -- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@`` ")' |
From: Bruce P. <be...@pi...> - 2006-10-13 20:16:48
|
-----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----- |
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\"\@`` ")' |