[Solved] Ask4 Student Internet, eth0-wlan0 AP using bridge

Didn't want to 'pollute' the wiki, in case this isn't the best way of doing, what I did; but it caused me enough frustration to not document it.
Basically, needed to create an access point using a wireless dongle to get my Nexus on the internet (Ask4's wireless routers aren't great ). Also as NAT stuff is "forbidden" on their servers/whatevers, needed to use bridging. Be warned - may kill your system/do funky stuff.
So...
1. Need to find out if your dongle is compatible with Master Mode (or AP mode) - loads of websites/wikis on this
2. Install hostapd (see Arch's wiki)
3. Create a hostapd.conf file in your home directory (just for testing - the one in /etc/hostapd is 'large'
#change wlan0 to your wireless device
interface=wlan0
driver=nl80211
ssid=test
channel=1
bridge=br0
4. Create the /etc/network.d/bridge file (see Arch's wiki)
INTERFACE="br0"
CONNECTION="bridge"
DESCRIPTION="Bridge wired and wireless connection"
# Only add wired interface here, hostapd will add wireless
BRIDGE_INTERFACES="eth0"
IP="dhcp"
#IP="static"
#ADDR='10.0.0.10'
#GATEWAY='10.0.0.1'
#DNS='10.0.0.1'
To get it to work with Ask4, you need eth0 to have DHCP enabled for this bit
5. enable and start [email protected]
6. stop dhcpcd.service
7. Start hostapd
hostapd ~/hostapd.conf
to see if everything works
8. Try connecting to the network using your device (should work)
9. Once you've finished using it, kill the hostapd process
10. Stop [email protected]
11. Start [email protected] to get the internet working again.
If everything works, you probably want to go back and edit the hostapd conf to give it some security.
Useful sites:
http://nims11.wordpress.com/2012/04/27/ … ess-point/

After switching from netcfg to netctl everything worked "out-of-the-box". The bridge gets to be the new standard network interface and all traffic on the machine gets directed through it. YAY

Similar Messages

  • [SOLVED] eth0-wlan0 AP using bridge AND keep internet access

    Hi there!
    This is my very first post here, so please forgive me if I (unintentionally) violate some rule.
    I have set up my system as an eth0-wlan0 access point with hostapd using a bridge.
    The IP addresses are provided by a separate dhcp-server (router resp. cablemodem).
    My problem is: when I work on the AP I would like to have a working connection to the
    Internet/Router. But to get there I have to execute
    systemctl restart dhcpcd.service
    The AP via the eth0-wlan0 bridge keeps working and I now have a working Internet connection.
    AFAIK the dhcpcd service acts (invoked by netcfg) on the bridge-profile to assign an IP
    to eth0. After that the bridge is set up and (now hostapd.service is up) the wlan0 is
    added to the bridge in AP mode.
    It would be great if someone could point out the problem for me.
    Thx, Benedikt
    Last edited by benedikt (2013-04-30 19:16:43)

    After switching from netcfg to netctl everything worked "out-of-the-box". The bridge gets to be the new standard network interface and all traffic on the machine gets directed through it. YAY

  • [Solved] Share internet from Wlan0 to other computers

    Is it possible to share internet connection from my laptop which is connected to internet through wlan0 interface (wireless) to other PCs on the LAN with my eth0 interface and lan cable?
    (Like,  Internet >> wireless Access-point >> laptop (wlan0) >> bridge to eth0 (lan card on this laptop) >> switch (through wired connection) >> other PCs)
    and where can I find how?
    Thanks
    Last edited by ottoshmidt (2012-04-23 21:26:58)

    alex_anthony wrote:
    Can also be done with networkmanager if you don't want to get your hands dirty (and if you're using it anyway).
    In summary:
    Make sure dnsmasq and iptables are installed
    Connect nm to wireless
    Connect ethernet cable between computers
    in nm-connection-editor, edit wired connection
    Under ipv4 settings, choose method, shared to other computers
    Disclaimer: This was when I was using fedora, but I have a hotspot the other way round on arch so I presume it will work.
    https://bbs.archlinux.org/viewtopic.php?id=139653
    Actually I did that one first, saw that post, but couldn't succeed and then tried https://wiki.archlinux.org/index.php/Internet_Share and succeeded. So I needed to enable ipv4  forwards and also to install iptables (which should be running as a daemon). Can't judge what was wrong in your steps for sure but at least, as I said arch wiki gives a right direction to go.
    Thanks all anyway.
    Last edited by ottoshmidt (2012-04-23 21:28:04)

  • (solved) hostapd no internet in the server

    this is my config
    laptop & android phone <----> wlan0 (hostapd with br0) <----> server <----> eth0 <----> rooter <----> internet
    (wlan0 is an eth5k card madwifi)
    (rooter is 192.168.0.1 give 192.168.0.11 to eth0)
    rc.conf
    eth0="eth0 up"
    wlan0="wlan0 up"
    br0="br0 192.168.1.2 netmask 255.255.255.0 up"
    INTERFACES=(lo eth0 wlan0 br0)
    bridges
    bridge_br0="eth0 wlan0"
    BRIDGE_INTERFACES=(br0)
    hostpad.conf
    interface=wlan0
    bridge=br0
    driver=nl80211
    bla bla
    all this work very well i can browse internet from my laptop and from my phone
    but i haven't access to internet with the server
    surely i miss comething
    thanks for your help
    Last edited by phoenixpb (2011-02-05 13:33:00)

    route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     *               255.255.255.0   U     0      0        0 br0
    humm should be 192.168.0.1 the adress of the rooter
    can i add another route for the server ?
    or wrong gateway ??
    ifconfig
    br0       Link encap:Ethernet  HWaddr 00:02:6F:8A:AE:13 
              inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::211:d8ff:febc:588f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:12 errors:0 dropped:1 overruns:0 frame:0
              TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:1121 (1.0 Kb)  TX bytes:468 (468.0 b)
    eth0      Link encap:Ethernet  HWaddr 00:11:D8:BC:58:8F 
              inet6 addr: fe80::211:d8ff:febc:588f/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:2175 (2.1 Kb)  TX bytes:1808 (1.7 Kb)
              Interrupt:19 Base address:0xc800
    lo        Link encap:Local Loopback 
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:4 errors:0 dropped:0 overruns:0 frame:0
              TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:256 (256.0 b)  TX bytes:256 (256.0 b)
    mon.wlan0 Link encap:UNSPEC  HWaddr 00-02-6F-8A-AE-13-00-00-00-00-00-00-00-00-00-00 
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:30 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1777 (1.7 Kb)  TX bytes:0 (0.0 b)
    wlan0     Link encap:Ethernet  HWaddr 00:02:6F:8A:AE:13 
              inet6 addr: fe80::202:6fff:fe8a:ae13/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:16 errors:0 dropped:0 overruns:0 frame:0
              TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1849 (1.8 Kb)  TX bytes:3804 (3.7 Kb)
    Last edited by phoenixpb (2011-02-05 12:09:36)

  • Can't connect to internet from my PC using Nokia N...

    Hello.
    I bought a Nokia N8 recently. Its awesome but I still couldn't solve this problem.
    I can't connect to the internet from my PC using N8 as a modem. 
    When I use Ovi Suite, it says "Failed to establish a network connection". 
    When I use the "Conn. PC to net." mode.. the application says "Valid connection could not be found". But I'm confident my operator's plans and settings/destinations are correct as I can connect and browse the internet from the phone. (Pls still say something if applicable)
    When I try to connect to the internet using Windows Network and Sharing Center, it says "A device or driver is not functioning properly" or something similar
    Pls help me with this problem. Its really, really urgent
    thanks

    You haven't establized a connection to the network,  so you can't use MS network sharing which means you are sharing the PC connection to others. What you wanted is to use the N8 modem to connect to the network.
    Uninstall Ovi Suites & install PC suites for your N8. Make sure all drivers are loaded properly. Run pcsuite & just click the network menu to connect to internet. By the way what's the version of your MS OS; XPsp3, Vista or Windows 7 ?
    Knowledge not shared is knowledge wasted!
    If you find it helpfull, it's not hard to click the STAR..

  • Cs6 student Internet commercial

    I would like to know if Creative Suite 6 need Internet to be used? I mean if CS6 is working like CC edition or like CS5 (normal software without conection with Internet).
    And one more question: if student (who bought Student and Teacher version) can use CS6 in a commercial way?
    I am looking forward to yours answer.

    All Adobe products function offline, even CC. There are only occasional checks for updates and in case of CC, a monthly check to see if the subscription is still active and paid for. Whether or not you may use S&T editions for commercial work depends on teh specific terms for your country. Generally it's possible, but some countries do not allow it if the licenses was issued through the school fro free and subsidized.
    Mylenium

  • I buy adobe creative suite for teachers and students about one year ago but now i'm not longer a student. Can I still use this programs legally for commercial purposes or do I have to buy some upgrades or something like this? Please help

    I buy adobe creative suite for teachers and students about one year ago but now i'm not longer a student. Can I still use this programs legally for commercial purposes or do I have to buy some upgrades or something like this? Please help

    The license did not have use restrictions Licenses and terms of use | Adobe
    BUT... when your one year Education account ends, I do not think you will be able to renew at the Education rate

  • I have a annual plan, it supposed must be used in two terminals, but i haven´t been able to install any app in a second computer, it always says that the app is only available as a trial download. What can I do to solve this issue, and be able to use my p

    I have a annual plan, it supposed must be used in two terminals, but i haven´t been able to install any app in a second computer, it always says that the app is only available as a trial download. What can I do to solve this issue, and be able to use my paid plan in two computers?

    Hi Susan,
    Please refer to the help document to fix this issue:
    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM
    You may also refer to the thread as below:
    creative cloud software says my free trial has expired, but I have a paid subscription
    Regards,
    Sheena

  • I just updated to 4.0.1 on my mac and now it says "Firefox is currently in offline mode and can't browse the web". It is not my internet since I am using Safari just fine. Any suggestions? I sure wish I wouldn't have updated!

    I just updated to 4.0.1 on my mac and now it says "Firefox is currently in offline mode and can't browse the web". It is not my internet since I am using Safari just fine. Any suggestions? I sure wish I wouldn't have updated!

    Make sure that Work Offline is unchecked: File > [] Work Offline

  • Firefox will not access the internet. I have used Firefox for years and the past week I have not been able to get on the internet??? What is the problem. My interent works as I get email and can iuse Internet Explorer to access.

    Firefox will not access the internet. I have used Firefox for years and the past week I have not been able to get on the internet??? What is the problem. My interent works as I get email and can iuse Internet Explorer to access

    Which version of Firefox are you using?
    See
    * https://support.mozilla.com/en-US/kb/Firefox%20cannot%20load%20websites%20but%20other%20programs%20can

  • Everytime when i connect 3g internet with my laptop using USB (Windows 7) it creats new connection trailing network1, network2, network3.........

    Everytime when i connect 3g internet with my laptop using USB (Windows 7) it creats new connection trailing network1, network2, network3.........
    It does not recognise my old connection.
    Same case with wifi connection as well.
    Also after updating new IOS-5, whenever i make USB connection it does not display my name under my computer.
    But before it use to display my name now it is coming as Apple I-phone.
    Anyone who can help on this, how to get it resolved.
    - I have update my phone with backup (OLD version of IOS) but issue still presists.
    This is the same issue somone mention on below.
    http://www.sevenforums.com/network-sharing/193123-iphone-network-location-doesnt -save-when-disconnected.html
    Kind Regards
    @ru..

    If the message that is displaying is "Network connection timed out", disable any Anti-Virus or Firewall software on the comptuer or check with the company that supports the product on how to modify it to allow iTunes to connect to the Internet.

  • Using the personal hotspot feature on the iPhone 5, I am able to connect to the internet.  We also use Juniper NCP client to access our system remote.  A VPN connection is created, but I am unable to access servers on our network.  This works on iPhone 4.

    Using the personal hotspot feature on the iPhone 5, I am able to connect to the internet.  We also use Juniper NCP client to access our local system from a remote location.  A VPN connection is created, but I am unable to access servers in our network.  This same functionality works using my colleagues iPhone 4.
    Both phones are running iOS 6.1.3.  I tried to reset network settings, but still unable to ping servers in our network.  This is a feature that our sales team relies heavily on when out of the office.  Hoping someone has some suggestions on what is different between the 2 phones.

    Hi,
    Generally, this issue should be related with something called split tunneling, since you’re using a F5 vpn client, you need to look for something related to split tunneling in the F5 VPN client's documentations.
    Here is an example, share it with you as a reference.
    http://support.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm_config_10_2_0/apm_config_networkaccess.html
    In addition, you can refer to the link below for more solution about this problem.
    You Cannot Connect to the Internet After You Connect to a VPN Server
    http://support.microsoft.com/kb/317025
    NOTE
    This
    response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft
    does not control these sites and has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • Using Bridge CS5 exporting to flickr get error message "Unable to connect to Flickr, please check your internet connection and try again."?

    using Bridge CS5 to exporting to flickr, but get error message "Unable to connect to Flickr, please check your internet connection and try again."  please help?

    I'm experiencing the same problem. Don't think I can help, but maybe I can offer an explanation. It looks as if Flickr has changed their API and Adobe will need to update the export plugin to comply to get it working again. I found this announcement on Flickr:
    Flickr: The Help Forum: [Official Thread] Flickr API switching to https-only on June 27th, 2014!

  • I just bought iWorks Serial Number Key over the internet. When I use the key, iWorks tells me the key is invalid!! Please help. (I bought this iWorks from someone in Singapore. I am using it in Malaysia)

    I just bought iWorks Serial Number Key over the internet. When I use the key, iWorks keep telling me the key is invalid!! Please help. (I bought this iWorks from someone in Singapore. I am using it in Malaysia.). Thanks

    Downloaded the Trial version. It still says the serial number key is invalid. On the iWork page where I am suppose to enter the serial number key, the "Go Back" button is always BOLD, but the "Continue" button remains GREY all the time. The "Continue" button remains grey even after I have completed the key entry. I have to type the "Return" key on my keyboard to force enter the key. The message I get is still "Invalid key".
    I have called Apple. The first person helped by asking me to delete certain items in some Folders and it still did not work. I was then connected to a senior person, but I heard over the recording that there were 15 persons waiting on the line. I had to end the call because the wait will take too long.

  • HT200189 VPN server update actually did not solve my issue on 10.9.1 using Server 3.0.2

    The aforementioned fix actually did not solve my issue on 10.9.1 using Server 3.0.2. Any other suggestions? I also see that the VPN service cannot be shut down. After sliding to off, it gives no message and automatically slides to On again...

    In my case I managed to fix it by means of this article:
    http://jonsview.com/how-to-setup-os-x-10-9-as-a-l2tp-vpn-server-without-apples-s erver-app
    And then especially the part about using an old version of Racoon (from Mountain Lion for example) to replace the current apparent defunct one in Mavericks...

Maybe you are looking for

  • Creating asset with reference

    Hi, I am facing the following problem: When we use transaction AS01 to create a new asset and use another asset as a reference none fields are copy to the new asset. I think that this must be a customising issue but i do not finf anything relative to

  • Users/Groups on different drive

    OS X Server has a single system disk and two others in a mirror RAID configuration. The OS defaults to having the Unix Users and Groups directories on the system drive, but for data security I want user data on the RAID. I can see three options: 1. c

  • Authorization error in DTR

    Hi, We have installed and configured NWDI SP 17 using template config tool and DI template. I have created CMSADM user and assigned the groups JDI.Administrators and JDI.Developers to it.  I can login to the DEVINF (CBS, CMS), but not DTR. I am getti

  • Need to download

    I need to download Photoshop extended CS^ full Retail for win

  • Issue with MSI 6600GT

    I recently bought an MSI 6600GT for my system.  My system is a  AMD Athlon 64 3000, MSI RS480M2 motherboard, 2x 512MB RAM, Enermax 365 PS, UATA 133 HD, and Hauppage MCE150 PVR.  I had previously been using the builtin video (now disabled) with no iss