(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)

Similar Messages

  • A connection to the QuickTime server could not be established. This computer may be having trouble accessing the Internet or the server may be offline

    When I select “Update existing software in QuickTime Pro I get an error message saying “A connection to the QuickTime server could not be established. This computer may be having trouble accessing the Internet or the server may be offline”
    This has persisted for several weeks. Any help will be welcomed as I do not know how to contact QuickTime support via Apple.
    I am using Windows 7 64 bit.  
    Many thanks

    I was able to download and install the latest version of iTunes  (10.6.3.25) without a hitch. After the reboot I tried again to update my exisitng Quicktime Pro software as described in my original posting and got exactly the same error message.
    If it happens that there is no software to download because I am already running the latest version, surely a message to that effect would appear and not the one saying “A connection to the QuickTime server could not be established. This computer may be having trouble accessing the Internet or the server may be offline”
    Still seeking advice if possible
    Cheers

  • How to share internet if the server connects to it via VPN?

    Hi, mac brothers! Need your help.
    I have a server with 2 ethernet cards (en0, en1). It connects to internet via VPN on en0. LAN clients connect to the server using en1. I can't share VPN internet connection to LAN %(. (tried to find the answer in the 10.4 server documentation, but there is nothing about it).
    I know how to share internet connection when there is no VPN - direct connection via DSL modem...
    Can you help me?
    PS; 0S X Server 10.4.11

    You need to use NAT and have the firewall running.
    And then you need to use the VPN connection (PPTP?) "interface" (when connected), probably ppp0 - not en0, in your NAT config. This can be achieved by dragging the config (small symbol in lower right corner in NAT config in Server Admin) to the desktop, edit it (look for en0 and change it to ppp0), save it, and then drag it back into the NAT config window and save.
    I think the VPN tunnel must be up before turning on NAT/firewall so if you reboot the server you might need to turn NAT/firewall off -> on to make it work again.
    If the WAN/ppp0 IP is not static (so you can enter it in your server DNS) you probably will have trouble with many of OS X services running in the server.
    Most OS X server installations using an Internet connection with a shifting public IP is better off by putting a NAT router which can do the in initial connection (by DHCP, PPTP, PPPoE, whatever), between it and the Internet.

  • My server has Two NICs ! I want to use one of the NIC for the internet and the other to a local Network .

    In my case ,  there is a server ( windows 2008  enterprise) . Instead of sharing the internet using the server .  i have done the following .
         i have 24 port switch which is connected with the modem (ISP Gave it to me).  My server then is connected with the switch .  the client pcs are also connected with the switch(d-link switch).
    my objective is to enable efficient way of file sharing from server for client pcs and also internet sharing at the same time for client pcs!
    my server has two NICs ! how to make the local network and internet work with out a fight!
    how could i achieve this ?  help me guys
    regards

     It really depends on exactly what the equipment from the ISP is. If it is a simple modem there is no point in connecting it to a switch. It needs to connect to a router.
      You can connect it to one NIC of the server and configure the server as a (NAT) router (with the other NIC connected to the switch).
      If either of the switches is actually a router you can use it as the NAT router and run the server on the LAN using one NIC. 
    Bill

  • Can't able to access the internet in window server 2003 sp2 64bit.

    Hi,
         recently i installed , windows server 2003sp2 64bit, every thing was perfect expect, internet.
    Ican't access the internet in that server, i tried to update the LAN drives but no use, I tired t install Adapter drives no use.
    What i have to do now,
    Thanks in advance,
    Surnedra Mannem.

    Hi
    Is this server in a domain or stand alone?
    Are you plugging the server direct in to the Internet Router or via Switches?
    What is the status of the Network Adapter Connected, Disconnected or Limited?
    Could you please tell us what is the IP address you are getting on the server?
    Try turning off the firewall also what browser are you using to access the internet on the server.
    Thanks

  • My MBA indicates my connection is timing out. My wifi on other laptops work in the house. Diagnostics indicate wifi settings failed, network settings failed, ISP failed, Internet failed, and server failed. What can I do?

    My MBA indicates my connection is timing out. My wifi on other laptops work in the house. Diagnostics indicate wifi settings failed, network settings failed, ISP failed, Internet failed, and server failed. What can I do?

    Take each of the following steps that you haven't already tried, until the problem is resolved. Some of these steps are only possible if you have control over the wireless router.
    Step 1
    Turn Wi-Fi off and back on.
    Step 2
    Restart the router and the computer. Many problems are solved that way.
    Step 3
    Change the name of the wireless network, if applicable, to eliminate any characters other than letters and digits. You do that on your router via its web page, if it's not an Apple device, or via AirPort Utility, if it is an Apple device.
    Step 4
    Run the Network Diagnostics assistant.
    Step 5
    In OS X 10.8.4 or later, run Wireless Diagnostics and fix the issues listed in the Summary, if any.
    Step 6
    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Enter the name of your wireless network in the search box. You should have one or more "AirPort network password" items with that name. Make a note of the name and password, then delete all the items. Quit Keychain Access. Turn Wi-Fi off and then back on. Reconnect to the network.
    Step 7
    You may need to change other settings on the router. See the guidelines linked below:
    Recommended settings for Wi-Fi routers and access points
    Potential sources of interference
    Step 8
    Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.
    Step 9
    Reset the System Management Controller (SMC).

  • When i try to send email from my ipad i get the message The recipient "£)()&&£)" was rejected by the server. This has only just started to happen and I don't know why. Please help. I have tried lots of things now and cannot solve it.

    When i try to send email from my ipad i get the message The recipient "£)()&amp;&amp;£)" was rejected by the server. This has only just started to happen and I don't know why. Please can someone help. I have tried lots of things now and cannot solve it.

    "Your email account" means to tap on the name of your email account. Whatever it is listed as in the settings.
    In my mail settings, one of my email accounts is a Comcast account. I tap on the Comcast name and it brings up this window.
    Then I tap on the arrow under the Outgoing mail server smtp setting to get to the next window.
    In the resulting window, I then tap on the arrow next to the smtp server under the Primary Server setting.
    That brings up this window in which I check to make sure that my user name and password have been entered correctly. If those items are missing, enter them in the appropriate fields and then tap done.

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • Internet Download error message: the connection with the server has been reset

    With an WRT54GS v6 firmware v 1.50.9 on Windows XP SP2 with Internet Explorer 7, Intel wireless internal adaptor w/ 802.11b,  I was getting the error message "The connection with the server has been reset" when downloading most anything from the Internet.  My IP address would then be reset and download would be interrupted.  To resolve, I turned off the WZC (Wireless Zero Configuration) Services, and this seems to correct the problem.
    Control Panel > Admin Tools > Services > Wireless Zero Configuration > Disable
    Hopes this helps.

    Hi!
    Im using Windows 7.... I tried looking for the Wireless Config - but it isn't in the Services options!
    So, what can I do now?
    Thanx

  • SharePoint 2013 - document libraries and newsfeeds are visible when viewed using Internet Explorer running on the server but not from any other machine

    On a single Windows 2012 R2 server I have installed SQL 2012 and SharePoint 2013 SP1 with the latest update roll ups. When I remote desktop to the server using the farm and site collection admin account  and open page http://server_name_here using
    Internet Explorer, I'm able to see newsfeeds and document libraries.
    If I connected to a separate Windows 7 machine as  the farm and site collection admin account  and open page http://server_name_here using Internet Explorer, I'm able to view the SharePoint pages except I cannot see any newsfeeds or document libraries.
    There's just blank space where they should be. I have repeated this process on several other machines that are not the server and get the same result on every machine (I've tried other servers, desktops, adding the SharePoint site to the trusted sites list
    in IE, even using firefox). I'm using the same account as I did when I logged onto the server directly. Any thoughts as to what's going on?
    Thanks!

    Thanks for the idea, Harsh. What am I looking for?
    It is currently set to the default of http://server_name and http://server_name:port_number (the latter is for Central Admin).
    When I have access to the server, I have always done so the same way, using http://server_name. This was true when I access it from the desktop of the server itself and when I tried to access it from other desktops and servers (the machines where I had the
    issues with the libraries and feeds not showing up). Are there other values I should add?
    I have not tried to add http://server_FQDN as we don't plan on using that to access it but if you think it will help I would be happy to add it.

  • How to solve problem - " Safari cannot open page because it isn't connected to the internet" but the airport is ok. signal full and i have n IP address.

    How to solve problem - " Safari cannot open page because it isn't connected to the internet" but the airport is ok. signal full and i have n IP address. and i m using Macbook pro.
    OS snow leopard and above...

    Do you have this problem with all websites, or only some? If only some, which ones?

  • My mini iPad will not connect to the internet. Getting a message that it cannot connect to the server.  What is this and how do I fix it?

    My mini iPad suddenly will not connect to the internet or retrieve my email.  I'm getting an error message that says "cannot connect to the server".  How do I fix this?

    Nevermind.  I found the answer from someone else's question.  Thank you.

  • How do I connect my MacBook pro to the Internet through the 3G server on my iPhone?

    Does anyone know how to connect my MacBook pro to the Internet through the 3G server on my iPhone?

    There is a service called Personal Hotspot that uses your iPhone's connection to share with other devices. You will need to sign up for this service through your carrier. Good luck

  • I have a 5th generation iPod touch that is suddenly "unable to connect to the server", not entirely sure what this means but I'm unable to connect to the internet even though I'm connected to Wifi. Can't connect to iTunes on my pc either. Any input?

    I have a 16GB iPod touch that suddenly stopped connecting to the internet last night. Everytime I try to get mail, or access anything with Safari I get a message saying that it can't connect to the server. Also I've plugged it in to my home computer but it won't connect to iTunes either. I haven't updated to iOS8 yet as I didn't have enough space for it and I had planned on deleting all my music files, updating the software and putting whatever music I could fit back on to the device afterward, but now I'm hesitant to do that as I have no way to get any of the files back onto the device. Could this be because I haven't updated to iOS8 yet? I've been having other problems such as apps crashing unexpectedly lately as well, for example my music shuts off randomly and apps such as Twitter and Tumblr and a few others crash on launch. I'm definitely not a genius when it comes to technology by any means, so I have no idea what's causing this problem or how to fix it, any help would be greatly appreciated!

    Does the iOS device connect to other networks? If yes that tend to indicate a problem with your network.
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • When I click on run to start my download of itunes a box from internet explorer pops up and says "The connection to the server was reset." Any idea what's going on?

    In attempting to install itunes on a laptop I keep encountering a problem with internet explorer. When I click on run a box pops up and says, "The connection from the server was reset." I don't know how to get past this.

    Use a different browser.

Maybe you are looking for

  • Can I use a POP email account on an iPhone

    I have a POP email account. I use it on my iMac. My Mail settings are to delete emails as soon as I've downloaded them. Can I set up my email account on my iPhone? Can the two devices synch my email? i.e. if I send an email from my iMac will this ema

  • Email being received but not sent

    all of a sudden, my email stops sending (yet still receives). i get the following error message "This message could not be delivered and will remain in your Outbox until it can be delivered. Verify that you have addressed this message correctly. Chec

  • How can I take out all my HealthVault data?

    As titled, how can I take out all my HealthVault data?

  • External hard drive as main libary

    I have a powerbook with a crappy 20GB HD so i want to use my 260GB Lacie HDD to store my music and run my itunes from. How do i set this up. I'm new to the mac world, i got this powerbook for free and want to use it just for my ipod & music. help ple

  • BDC-Direct Input

    Please give an example for Direct Input method in BDC.When it is used? what is the advantage and disadvantage?