Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] promiscous mode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2571
Location: Edmonton, AB

PostPosted: Thu Apr 08, 2010 4:17 pm    Post subject: [SOLVED] promiscous mode Reply with quote

How to check if network kernel driver supports "promiscous mode"?

Realtek 8169 (Intel Atom 330 with RTL8168c/8111c network card) and I can not enable/setup Bridge mode in VirtualBox (Windows XP as VM).
Even worse, my keyboard freezes when I enable the bridge mode and VirtualBox will not quit so I had to pull the plug on the box as I can not reboot Gentoo.
_________________
#Thelma


Last edited by Joseph_sys on Fri Apr 09, 2010 12:27 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7585
Location: almost Mile High in the USA

PostPosted: Fri Apr 09, 2010 12:20 am    Post subject: Reply with quote

most ethernet cards should support promiscuous mode... I have multiple RTL8169s and they seem to work fine being promiscuous (for tcpdump/wireshark)...

That being said I've not tried bridging with them. The same underlying support is needed for sniffing and bridging, except the key difference is that sniffing is OK to lose some packets, where it's not OK for bridges to lose packets...

I don't know about packet loss with my RTL8169 while used as a bridge. This most likely would be a hardware issue or improperly written software.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2571
Location: Edmonton, AB

PostPosted: Fri Apr 09, 2010 12:27 am    Post subject: Reply with quote

eccerr0r wrote:
most ethernet cards should support promiscuous mode... I have multiple RTL8169s and they seem to work fine being promiscuous (for tcpdump/wireshark)...

That being said I've not tried bridging with them. The same underlying support is needed for sniffing and bridging, except the key difference is that sniffing is OK to lose some packets, where it's not OK for bridges to lose packets...

I don't know about packet loss with my RTL8169 while used as a bridge. This most likely would be a hardware issue or improperly written software.


Indeed the card works just fine. My mistake was loading the drivers in the wrong order:
/etc/modules.autoload.d/kernel-2.6
the order should be:
vboxdrv
vboxnetflt
vboxnetadp

if not all kind of funny tings can happen :-/
_________________
#Thelma
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6347
Location: /usr/lib64/lv2

PostPosted: Mon Apr 12, 2010 4:58 pm    Post subject: Reply with quote

I was going to say, in addition to giving it lots of condoms and lube, that promiscuous mode could be found in the kernel. I might be wrong, though. I kind of remember seeing something about it when I was setting up another wireless card.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum