LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-27-2012, 05:48 AM   #1
edmundojr
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Creating a bridge interface eth0 to wlan0


My goal is to create a bridge interface eth0 to wlan0, this setting is being made, or trying to, in a thin client, the interface is a wireless adapter tp-link USB-Wireless. In the notebook did and everything worked, but when I go to the thin client goes wrong. In the figure below, I tried to create a bridge with only the wlan0 interface and gave the error saying that the operation is not supported, a solution that much research on the Internet sites outside Brazil was the command iw dev wlan0 4addr on establishing an interface virtual, but also does not work and a list of help, as it is in the second image. Following the steps from the mistakes of the thin clien:


"
root@maquina01-hp-t5740:/home/maquina01# brctl addbr br0
root@maquina01-hp-t5740:/home/maquina01# brctl addif br0 wlan0
can't add wlan0 to bridge br0: operation not supported


root@maquina01-hp-t5740:/home/maquina01# iw dev wlan0 inteface add wlan1 type monitor 4addr on

Usage: iw [options] command
Options:
--debug enable netlink debugging
--version show version (0.9.19)
Commands:
help
event [-t] [-f]
list
phy
phy <phyname> info
dev <devname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*]
phy <phyname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*]
dev <devname> del
dev <devname> info
dev
dev <devname> ibss join <SSID> <freq in MHz> [fixed-freq] [<fixed bssid>] [key d:0:abcde]
dev <devname> ibss leave
dev <devname> station dump
dev <devname> station set <MAC address> vlan <ifindex>
dev <devname> station set <MAC address> plink_action <open|block>
dev <devname> station del <MAC address>
dev <devname> station get <MAC address>
dev <devname> survey dump
dev <devname> mpath dump
dev <devname> mpath set <destination MAC address> next_hop <next hop MAC address>
dev <devname> mpath new <destination MAC address> next_hop <next hop MAC address>
dev <devname> mpath del <MAC address>
dev <devname> mpath get <MAC address>
dev <devname> scan [-u] [freq <freq>*] [ssid <ssid>*|passive]
dev <devname> scan trigger [freq <freq>*] [ssid <ssid>*|passive]
dev <devname> scan dump [-u]
reg get
reg set <ISO/IEC 3166-1 alpha2>
dev <devname> disconnect
dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465]
dev <devname> link
dev <devname> get mesh_param <param>
phy <phyname> set netns <pid>
phy <phyname> set rts <rts threshold|off>
phy <phyname> set frag <fragmentation threshold|off>
dev <devname> set channel <channel> [HT20|HT40+|HT40-]
phy <phyname> set channel <channel> [HT20|HT40+|HT40-]
dev <devname> set freq <freq> [HT20|HT40+|HT40-]
phy <phyname> set freq <freq> [HT20|HT40+|HT40-]
phy <phyname> set name <new name>
dev <devname> set type <type>
dev <devname> set meshid <meshid>
dev <devname> set monitor <flag>*
dev <devname> set mesh_param <param> <value>

You can omit the 'phy' or 'dev' if the identification is unique,
e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.)

Do NOT screenscrape this tool, we don't consider its output stable."


Thanks for the help
 
Old 11-29-2012, 05:37 PM   #2
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 453

Rep: Reputation: 46
You can't do it. bridge-utils does not work like this. bridge-utils works on wired ethernet ports. Consider forwarding all traffic across the interfaces via the kernel. That's not without peril!

Last edited by mpapet; 11-29-2012 at 05:38 PM.
 
Old 11-30-2012, 12:40 PM   #3
agentsteel
Member
 
Registered: Oct 2012
Location: France
Distribution: Debian / Fedora / Ubuntu / OpenBSD
Posts: 46

Rep: Reputation: Disabled
A short tutorial

http://agentoss.wordpress.com/2011/1...-debian-linux/
 
Old 11-30-2012, 06:09 PM   #4
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 453

Rep: Reputation: 46
There's a reason bridge utils is failing, it's not supported. How the wireless NIC works, or doesn't in this case, is getting in the way. Can the wireless NIC run in master mode?

Last edited by mpapet; 11-30-2012 at 06:11 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
? how can i bridge wlan0 to eth0, Master_CAPS Linux - Newbie 1 03-24-2012 08:03 PM
Bad: Bridge eth0 and wlan0 on same laptop vinaypreet Linux - Networking 1 10-13-2011 07:57 PM
How do I bridge my eth0 and wlan0 connection on Ubuntu 11.04 Scarface758 Linux - Networking 1 07-24-2011 11:38 AM
Interface eth0 missing after messing around with bridge ariel106 Mandriva 3 12-01-2007 06:45 AM


All times are GMT -5. The time now is 03:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration