Ubuntu Networking :: Use Machine As Wireless Router?
Jun 10, 2011
i did googled for that for a while now, but didn't found anything relevant so far, or did i missed something? i need to share a pppoe connection, using an infrastructure wifi network, how can i do that in ubuntu?
forgot to mention, ad-hoc just won't do it for me, the other devices, either dosen't support it, either get a password error. also, i would need some help for establishing the pppoe, i previously did that on another machine, but that was long ago, and it was a big head ache, it would only dial on startup, and no redial or disconnect posibilities whatsoever.
My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.
I moved my server and network equipment, and now the wireless works but I cannot get my server online. I host a website, so this is kind of urgent.
I have a wireless router and can access the internet fine on my laptop. My server is wired & connected to the router. It sets up the networking properly.. ifconfig has an ip address, the default gateway is present. But I cannot ping google, or even the router. It says destination host unreachable.
So I go back to the laptop to check the router settings.. sometimes it likes to assign the server the wrong internal ip. But, I can't access the router settings either! The page (192.168.1.1) times out. Same with trying to ping the router. How can the laptop be online if it can't reach the router?
Oddly, ifconfig on my laptop reports an ip address starting with 99.233. It's always given me an internal address starting with 192.168. What's going on here? Is the router not allocating an internal ip? I use wicd to connect, if it's relevant.
We have a windows laptop that can only get a "local connection". Now it does sound like the router is forwarding directly to my laptop, instead of allocating internal ips.
I want to set up a Linux box as a wireless router to replace our existing Netgear WNR1000 router, as I believe the Netgear does not support the coming IPv6 protocol. Unfortunately, it is not flashable with OpenWRT or DD-WRT presently.
As we have Comcast, our cable modem acts as a dumb modem according to the customer support guy I talked to, and our router is the one that asks for the IP address from DHCP. Thus, when Comcast switches over to IPv6, I don't believe my existing router would work, correct?
My idea is to take a Linux box and put two NICs and a wireless adapter in it, using IPCop or Smoothwall to set up a router. I could then enable IPv6 support for when we have IPv6 with Comcast. Is that possible? Would there be a way to get BIND to hand out private IP addresses in the same subnet on the both the LAN NIC and the wireless card?
I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.
Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.
Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).
The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.
Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).
Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.
Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).
My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?
Here is a link to (picture) my network diagram. Network Diagram
I have two laptops with me here at school, one bigger one [home computer], and one smaller one [netbook]. I take the smaller one with me to class and when I'm out and about, however, I keep all of my things on the bigger one. I would really like to be able to set up some sort of SSH port forwarding for the bigger machine so that, when I'm out and I realize I left file X on my home machine, or I want to listen to a certain song, or whatever, I can just scp it to the netbook. The issue is, at my dorm, I'm stuck behind a firewall and can't just set up a SSH daemon and port forward through the router, I need a more clever solution. I do have a home server (not with me at school), which I commonly use for transferring files. Basically, I'm wondering if there is some way I can SSH into my server box, with reverse port forwarding so that, when I am out and about, I can just log into my server and copy files from my home computer for use on my netbook. I've tried a couple of solutions which come up from google "reverse ssh" but haven't been able to get them to work. A step by step guide to doing this would be great. Again, the setup is:
Home server [ssh-able] Home Computer [behind firewall, can't ssh into at the moment] Netbook 
Want to be able to SSH from Netbook to Home computer, probably using Home server.
I have enabled IP Forwarding in my linux machine by using the commandsysctl -w net.ipv4.ip_forward=1. But I dont see any difference in routes when I type the route command before and after changing this value.Do you guys have any solution to verify the packet forwarding, but using this single linux machine only? Of course, I verified the net.ipv4.ip_forward=1 value. But I need to verify by transmitting orreceiving packets
I have WiFi router at home and connected two computers running ubuntu linux connected to it. One connected through WiFi, second through LAN. So what is the problem: I can't SSH from Gnome terminal to any machine. Be it local computer on the same router or be it distant computer. SSH session hangs just after successful login. I've read a lot about it and it should be related to DNS, MTU or whatever, but not in my case ! PuTTY client works without problem to local or to distant PC. SSH session from Gnome terminal works also just fine if.... I connect two comupers directly by not using router. So it seems SSH installation is ok, configuration is ok, but somehow router is not ok. I looked at packet sniffer of router itself and I see that packets successfully go from one computer to router and then to other computer and returns back. Firewall working ok. And its not about packet forwarding because I have the same problem if I try to SSH to router itself.
So the question. What theoretically might be wrong with router packet management ? Why PuTTY and Gnome terminal SSH packets differs ? What is the difference ? Where should I search for some sollution? I ran SSH in debug mode, but it was no so informative. It successfully logins and hangs on this line: Code: channel 0: open confirm rwindow 0 rmax 32768
Those are my authentication capabilities, obviously. I am using a WEP encryption for my wireless router and according to this, it will not allow me to connect. Is there anyway to allow that? The wireless card works just fine in Windows, even on the same network encryption type. Using a Intel Wireless/Pro 4965 ag. Note* this is my mother's router and whatnot. She won't change it the encryption type.
I installed a Tenda W322P wireless card in my dual-boot PC running both Windows XP and Ubuntu 11.04. The card worked straight out of the box on XP, but does not function correctly under Ubuntu. My apologies for any missing/irrelevant information, I am having to post this from the Windows boot so the Ubuntu settings are not directly available at the same time as internet access.I followed the process detailed here htURL...to install and configure the driver (I believe from reading other sites that this card is the Ralink RT3062 chipset), blacklisted the original RT2860 driver that was in use (couldn't even get the card to scan for wireless networks with the default driver) and restarted the interface.
Since then, sudo iwlist scan can find my wireless router but when I attempt to connect to it, it seems to enter a loop of requesting the WEP key then pausing for a while before re-requesting the key. I know I have the key value correct because it is copied and pasted from the same text file I used to copy and paste into the passkey field on the Windows boot. Attempting to connect to the router using Ubuntu also has the rather unfortunate side-effect of crashing the wireless router, killing off all other device connections until the router has been reset.
I recently installed Fedora 14 on my machine. Ever since I cannot connect to the Internet at home.henever I plugin in the ethernet cable the ADSL router disconnects and all machines connected to the router lose connection to the Internet.
I have three machines say A B and C. I want to make machine B as a router for A and C, so that the ping packets from C to A should be going via B. I have directly connected two interfaces(eth4) of A and B and similarly two interfaces(eth5) of B and C. I have even set up a route between B and C. 1. But I am not able to set a route between B and A.2. If I ping A from eth4 of B(viceversa) it works. When I ping B from eth5 of C it work but not the viceversa.3. Also, if I ping from C to A, B receives the packets, but not A.
last night as a download was going the Internet just stopped connection. Then asked me for the WPA & WPA2 personal password. I didn't know what to put since I had already tried multiple pass words I restarted the router.Now for some reason the computer won't pick up the router wireless signal. It picks up multiple connection's around my area so I know that it's not the wireless card. The router is connected via ethernet at the moment so I know the internet works.Do I have to find the ssid? Maybe the router reconfigured it's self when I restart it and broadcasting mode turned off... I just don't know
I have a wireless router HG520s. I have enabled a hidden (nonbroadcast) mode on channel 1 with WEP encryption (64bit / 10 hexadecimal chars). Mac filter is not enabled. Name of ESSID is "homenet", everythig else is usually by default.Now, when I try to connect with my laptop (os=winxp) I can't see the essid (because it's hidden)Well I know I have to set it manually. I open windows wlan manager and go advanced (win-firewall is disabled) and create new wlan network profile to connect with, I set up the credentials, name of ap, enc wep, and the rest of stuff (I assume you know how 'hard' it is) and then I can see when refresh wireless network my own network, but the PROBLEM is that I have a Limited Access or/and no access to internet.
I remind you that router is well connected and there is internet on lan ports, but I can't access through wireless with my laptop.In fact I can only see my essid and that broadcasting is active, pwr is good, distance is not the problem. My laptop cannot get ip assigned and the same problem is with my E51 nokia (No Gateway Reply!).I think I said enough. Now any of you guys please try to explain me how's this possibleThe problem is same with ubuntu. My wife is using Win7, I'm on Ubuntu and my son he's on laptop with XP installed
I have installed Ubuntu 9.04 onto a USB stick (8mb). Works OK, it detects my Wireless Broadband, connects and works OK. But it does not detect the Wireless from my PC router. Do I need to install something to do this?
I have a computer running Ubuntu, and a MacBook Pro. I need to buy a decently cheap wireless router that I can hook up to my Ubuntu so that it will send wifi signals and I can use the wifi to go online with my MacBook Pro. I was about to get one today, but remembered how Ubuntu is picky about working with things like that. I'm only going to be using it to get signals around the house which isn't that big at all.
So what would be the cheapest and decently efficient wireless routers that I can use which Ubuntu will cooperate with?
I am having problems connecting to my new router. It just does not appear in the list of connections under Network Manager. It is not a problem with my laptop's wireless adapter as I can connect to another wireless router. It is also not a problem with the router itself - my Nintendo Wii can pick it up over Wi-Fi and use it and that is further away from the router. It also works if I ethernet it straight into the laptop.The router was provided by Sky Broadband and is a D-Link, pretty standard type of ADSL router with four ethernet ports, wireless and telephone cable socket. I am using the default settings for the SSID and network key, as well as the encryption type (WPA).Ubuntu version = 10.04. The wireless adapter is a very standard issue onboard Intel device but as I say, I can connect to my old Belkin wireless router no problem.
I have installed ubuntu 10.10 and am really happy. I want to sort the wireless conection out now. I have been through this forum for hours today and can't get it working. I have a Broadcom wireless card, which seems to be working fine, but I am not 100% convinced.I have attached the output of some of the commands that I have seen referred to on here.
I am using the wired connection on the same router, so the router connects fine.I click on the network icon and I see the skyNNNN router in the list. I have tried connecting to it and it asks me for my password, which I provide then nothing happens until it asks me again.I have removed the security from the router and I then see the same skyNNNN router without a lock icon. I try to connect and it still fails.I am not using an access list on the router, so there is no issue with the mac address.
I have been using pppoe connect to Internet,now I want my notebook get on line,I bought a wireless router but Ubuntu(64-bite) can't connect to Internet through the wireless router.pppoeconf said that found eth0 and vboxnet0,but search concentrator failed and pppoeconf exited.How can I fix it.
i wanted to know if i can use my laptop as a wifi router; with encryption password and all security so if another computer is in the range can detect the signal and then try to connect to it with the encrypt pass.
also i have one more doubt. can a wireless router be used as a wifi ethernet card and detect wifi signals nearby and connect to internet. suppose i have a wireless router and i connect it to my desktop(with lan cables) which has ubuntu installed, and theres a wifi connections nearby can i connect the desktop to the internet.
Just installed ubunto 1104 and I cannot connect wirelesly to my router. When I go through the trouble shooting the recommendation is to got to the device drivers page but the link does not take me anywhere. Here is the info from the terminal.
I'm trying to connect to a new Belkin wireless router, but wicd refuses to connect. I've been reading some of the other threads but they haven't made much sense as the hardware is different.
The output from the iwconfig command is as follows:
When I ran lspci it told me I had a RaLink RT2800 802.11n PCI Network Controller. On the box it says it "Supports the most popular systems" and mentions Linux. I'm using a 63 character WPA2 password, which has been copied from a USB key, so I know that is correct.
I am running ubuntu server x64 as a router. I currently have 2 LAN cards, eth0 and eth1. and I want to add wireless capabilites to the machine.I was wondering if any of you know which card I could use?I want it to be supported in ubuntu server and it must be n-draft, as it is to replace a Edimax n-draft router.
Previously posted under "Wireless Connection Can't Even Ping Router".I've been using Ubuntu for two years. About a year ago I switched to Kubuntu because I prefer the KDE desktop. Two weeks ago I bought a new laptop: Dell Vostro v13. I installed Kubuntu 9.10 from the live CD and everything worked! Well, almost. I also set up a home wireless network with a new Belkin N+ router from WalMart. When I try to connect to my router, the Plasma Network Manager reports that I'm connected and the assigned IP address, but I'm not truly connected! I can't even ping my own router, all packets are lost.
This problem is intermittent, sometimes I connect fine. I dual-boot with Windoze7 and it connects without problems. Also, if I connect with Windoze, then re-boot into Kubuntu, it seems to "wake-up" the connection somehow and it works. I might also add that I connect without difficulty to other routers in my neighborhood, at work, in airports, etc.My old laptop was also running Kubuntu 9.10, and it connected to the Belkin router without problems, although it was a different wireless card and driver. I also tried Ubuntu 9.10 from the live CD and it also reported a connection, IP address, etc. I couldn't ping the router from that connection either!
Using Ubuntu Server 9.10 x64 and a tomato router to act as a wireless bridge to connect to another router. The reason I ask is because I do have the router set on WDS mode on the tomato firmware. I think I have it configured to the best of my ability, but when the interface is up, the signal doesn't get pushed out (no received packets) and it gives something at the bottom of an ifconfig eth0 "Interrupt:28".
I have an HP dv2000t laptop running 9.10 with an Intel PRO/Wireless 3945ABG wireless adapter. I have no problems connecting to my wireless network when I'm within about 15 feet of the router. When I move to a different room, my network shows up the list of available ones, but I usually can't connect. When I run Windows, I have no problem connecting from the same distance. I'm using the default network manager.