Networking :: Setup Laptop Running Ubuntu 10.04 Into Router?
Jun 18, 2010
\How can i setup my computer (currently running Ubuntu 10.04 lts) into a router so that other laptop can have a wireless connection to it and be able to access the Internet?
View 4 Replies
ADVERTISEMENT
Jun 27, 2011
Trying to set up a LAN with an FC14 laptop, FC15 PC and a Windows machine running XP. I have SAMBA installed on both FC machines, but neither of them can see shares on each other or the XP machine. I can ping between all of them. The Windows machine sees all of the SAMBA shares.
When I attempt to Connect to Server under Places on the FC15 PC, I do not have a Windows share option to choose from as I do on the laptop, suggesting smbclient isn't configured correctly on that machine. SMB, NMB and WINBIND are installed and activated on startup on both FC machines. Although I have the Windows share option on the FC14 laptop, it will only connect with the IP address.
Firewalls and SELinux on both machines are disabled. Here are some configuration details:
rpm -qa | grep samba
samba-3.5.8-68.fc15.1.x86_64
samba-winbind-3.5.8-68.fc15.1.x86_64
samba-swat-3.5.8-68.fc15.1.x86_64
system-config-samba-docs-1.0.9-2.fc15.noarch
samba-winbind-clients-3.5.8-68.fc15.1.x86_64
[Code]...
View 3 Replies
View Related
Nov 6, 2009
I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).
I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.
I have added this to /etc/sysctl.conf on the laptop:
net.ipv4.ip_forward=1
Then I tried this on the laptop:
sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT
This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.
But this doesn't work. The connection doesn't even establish between the laptop and the desktop.
View 12 Replies
View Related
Apr 24, 2010
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
View 2 Replies
View Related
Jun 20, 2010
I'm try to setup a wireless network with my linksys wireless router and my HP laptop dual booting Vista & Suse 11.2. I have the vista networked, just fine. Where I can share files and the printer connected to my desktop. But I want to be able to use Suse in the same way, full time and to stray away from Vista. My wife and kids like easy. So I'm trying to transform them and show them something new.
View 9 Replies
View Related
Apr 5, 2010
how to setup ubuntu as router. i already try to setup but it doesn't work.
my situation is to create ubuntu as router. i have two network card etho and eth1. i want to create eth0 in DMZ and eth1 only can only access in internal.
View 2 Replies
View Related
Apr 3, 2011
I have multiple devices in my garage that need internet connectivity. I have my main Netgear router inside the house. I have a computer running Ubuntu in the garage with dual NICs.
Here's a map of how I have it setup now: [URL]
Here's my /etc/network/interfaces:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.60
netmask 255.255.255.0
gateway 192.168.1.1
auto eth1
iface eth1 inet static
address 192.168.1.5
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.1.255
I was trying to keep everything on the same subnet. Eth0 is the external NIC, connected to the router in the house. eth1 is the internet NIC, which would go out to the devices in the garage. Now, I know it would be easiest to just connect a switch up and run all the devices in the garage off that switch. But the switch I have is a 10/100, and my network in the house is gigabit, and I want the PC in the garage to have gigabit access... which is why I'm doing this dual NIC setup and using the PC as a router, then the other devices in the garage will be 10/100.
In addition, I used the shell script as described in this article: [URL] to setup iptables. I also uncommented the net.ipv4.ip_forward=1 line in /etc/sysctl.conf. What am I doing wrong here? None of the devices in the garage that I connect up to the Ubuntu PC are getting connectivity. None are getting a DHCP lease from the main router in the house. The Ubuntu PC itself has internet access just fine though.
View 2 Replies
View Related
Feb 6, 2010
I have a router with 2 IBM Thinkpads connected. One Thinkpad is running Ubuntu, and the other is running XP.
They connect to the router with no problems.
I installed Ubuntu on a Sharp Moebius laptop and plugged in the network cable.
NOTHING.
I have tried pinging the laptop; nothing.
I am not sure where the problem is, because my Thinkpads have no problems connecting to the router, with both Ubuntu and XP
View 9 Replies
View Related
May 11, 2011
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.
View 5 Replies
View Related
Feb 9, 2010
I want to setup a router with firewall on ubuntu box that will connect windows pcs one serving as outside source and one serving as inside target.
View 2 Replies
View Related
Nov 17, 2010
I am planning to setup a home network with Ubuntu.the home network consists of ~3/4 computers; a mediaserver (reelbox) and 2 more PCs.Can I setup the server as a DSL router and get rid of my modem/router I have right now?
View 3 Replies
View Related
Dec 1, 2010
I am trying to set up SSH so that I can edit files on a home server (linux). I know this question has been asked many times before, but none of the answers seem to apply to me.
Here's my setup. I have the modem connected to a switch (wired) that connects 2 PCs to the internet (one desktop, one server, both wired).
All of the threads I see that discuss static IPs seem to require that I set up a router. Is this necessary? Can I still transfer files through a switch?
View 9 Replies
View Related
Mar 12, 2010
I've not changed my configuration, but after temporarily unplugging my laptop from the router, I can no longer persuade it to connect again.Have restarted it repeatedly, but to no avail.A similar problem has been occurring with my Huawei 3G Dongle which has suddenly started behaving.Are there any troubleshooting guides for the Network Manager's wired connections? Don't know where to start.
View 5 Replies
View Related
Sep 8, 2010
I would like to setup a Linux Router with Fedora. Here is what I have and would like to do...
Email filter device is on the LAN at 192.168.x.3. I need to provide SNAT to that device from both T1 interfaces...
All outgoing traffic will route through DSL except for traffic destined for addresses on either eth0 or eth1 (web sites).
I assume I would need the following:
I also assume I would need to setup iptables with FORWARDs for the 192.x.x.x networks to eth3.
What I am not sure how to do, is properly setup the incoming redirections so that the email filter can be access from both eth0 and eth1 by different IP addresses.
View 1 Replies
View Related
May 12, 2010
I've got an Ubuntu box set up as a router and wifi hotspot. I can access the internet and any website using this box. I can connect a laptop to my wifi access point, and connect to both the router box and the internet. I'm writing this message from it. If I access either hsbc Hong Kong internet banking or speedtest.net from my laptop I can't connect. Every other site I've tried is fine. What could be causing this? I don't know where to start. I've set up the firewall rules and routing tables, so I vaguely know what I'm doing... but clearly not enough to debug this issue.
View 3 Replies
View Related
May 29, 2011
I have been searching google for a while now and have not found exactly what I am looking for. I would like to use my fresh install of ubuntu server 11.04 as my router/gateway for my home. I am not an expert at linux by any means but I can usually figure stuff out. I believe I need iptables, bind, and a few others probally. It eventually will also be a samba server but I have done a little with samba before. I do have 2 network cards, my router at the moment is starting to die and would love to have a more powerful router. I would also like to figure out how to do port forwarding in the router, as well as be able to see the load on the network cards. Maybe there is a program to show usage by user? As well as be able to do packet pritorization.
View 4 Replies
View Related
Jan 21, 2011
Running Ubuntu 11.04 on a Gateway LT3103U netbook. It's running fine except for that fact that when it goes to sleep (timeout or lid closed) or going into suspend or otherwise restarted/shutdown, my router restarts. It's a DLink DIR-655 that has been working fine until I changed this netbook to Ubuntu.After installing Ubuntu on the netbook, it found my SSID being broadcast and I added the connection by supplying the WPA2 password. I have full network access (local and internet).
It's just the router restarts and all my other machines lose connections. The router is using DHCP but supplying IPs based on MAC. Netbook is set to use DHCP.
View 3 Replies
View Related
Aug 1, 2011
I just installed 11.04 on my laptop and the wireless works fine connecting to a AT&T 2Wire router when the ac power adapter is connected. When running on battery power I stay connected to the router but barely any information is transmitted. ie. if i restart the router connection on my computer I can load a web page like google.com then nothing else will work unless I restart the connection again. If I am right next to the router it will continue to work but very slow ( takes about a minute to load ......com when it only takes 2 seconds on ac power ). When I run windows 7 everything works fine when on battery power.Also every thing works fine on a linksys router with ac and battery power.Dell Inspiron 14R Processor: i5-2400MWireless Card: Intel Centrino Wireless-N 1030Ubuntu 11.04 Natty Narwhal
View 1 Replies
View Related
Jan 6, 2011
My Desktop is wired through eth0 to my wireless router. The router is connected to the internet. the ipaddress leased to my desktop was done with dhcpcd. My laptop is connnected to the wireless router through the wifi card known as device eth1 and i used dhcpcd for that also. How can I network my laptop via wifi through the router to the Desktop?
View 7 Replies
View Related
Sep 12, 2010
I want to connect to my office intranet without utilizing internet, there is aprox 210 ft distance and i cannot locate my N router's signal even when i installed the router outside of the building, the server is redhat enterprise, and want to share filehosting and internet with the office to cut down costs.
Office building with intranet>--------<210ft>----------my apartment
I am willing to invest some money in this setup but undecided how to extend the network, someone told me i can use a router in repeater mode but i cannot find any such router, my employer has allowed me to use the office network (so nice of him) but at my own setup.
View 4 Replies
View Related
Apr 12, 2009
I'm sure that some of us techies have found the need from time to time to have a portable wireless bridge (see ascii art below) on our jaunts into the big bad user-woods, and I am here to ask the question of HOW to pull this off, with the least installation/configuration possible, as my tech lappy is also my main computer. What I want to do is this:
Code:
(ISP) -> (wlan0 - [MyLappy] - eth0) -> (Client computer)
Basically, thats a mess, so i'll explain it further:
wlan0 grabs the netz, and a computer connected to eth0 via switch/router/crossover cable can access those netz.
1. No configuration on the client would be prime choice rib for me.
2. Client should be any OS/Arch.
Any grand ideas out there? Currently using FC10, with various extra repos enabled.
Oh, and N00by alert, I'm learning quick, and am not shy to try new/complicated things, just bear with me!
View 4 Replies
View Related
Feb 20, 2011
I have two network cards in my computer (Debian). One (eth0) is connected to the router which is connected to the internet, the other one (eth1) is connected to my laptop (Gentoo). Now I want to surf the web both on my computer and on my laptop. I obeyed some tutorials "Linux as router":
1. On my Debian system IP-Forwarding is on:
Code:
takada:/home/sam# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1
2. Laptop has IP 192.168.0.2 and this is the output of 'cat /etc/network/interfaces' on my computer:
Code:
takada:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
But a ping from my laptop to 192.168.1.1 (router to internet) still gives:
Code:
connect: Network is unreachable
View 4 Replies
View Related
May 18, 2011
how to set this baby up with a working Internet connection so I can get on my PS3 across the other room.
View 1 Replies
View Related
Jan 12, 2011
I need to remote access a PC(running winxp) from my laptop(running ubuntu 10.10) over internet.
View 1 Replies
View Related
Jan 25, 2010
I have a machine running linux with 3 ethernet interfaces attached.
My Ifconfig:
My route output:
eth0 is attached to a laptop, eth1 is attached to a PC. eth2 is attached to a DSL modem, and the server is successfully acting as my internet gateway. The trouble is, my PC cannot see my laptop and vice versa. E.G. cannot ping, host seems down.
View 5 Replies
View Related
Oct 15, 2010
Since I have 3 Network cards in my Desktop PC I've configured it to act as a Router using GNU/Linux Ubuntu Lucid in combination with Samba so I could share my internet connection. It works on any laptop a connect to it using any of the network cards ports [regardless of the operating system installed on the Laptops], but when I plug that same network cable to any Desktop PC [regardless of the operating System installed] it doesn't even light the LED in the netcards. From the Client PC seems like nothing is plugged in the the netcards.
View 8 Replies
View Related
Aug 7, 2010
I'm using a cross-over ethernet cable to connect a Desktop Windows 7 box, and a laptop running on SUSE 11.2. I want Windows to connect to the internet via the laptop's wireless interface.
View 1 Replies
View Related
Apr 2, 2010
I have searched google, but can't really get the hang of setting this up.Most howtos are setting up a DHCP and PXE on the same box. At the present my DHCP is done by my router and I want to set up the PXE server on my main PC.My router can re-direct traffic types based on ports (UDP or TCP) to an IP but can't do the bit about directing the pxe loader name (and I really don't want to ssh into it and start messing about there)If I redirect the port (what ever it may be, help required here) how would I go about setting up the Ubuntu PC to do the load and pass back to the PC trying to PXEboot?
View 1 Replies
View Related
Jun 10, 2010
I got two issues with my wifi usb adapter:
1) it cannot see any networks around
2) i cannot setup it in master mode to use my PC as a router
As far as i can see, the device is recognized and the correct driver (rt73usb) is loaded. I was able to connect to a laptop somehow (the laptop could see other networks and the adapter's PC-to-PC network). I'd like to make it work as a router, i.e. share my internet connection (eth0) via wlan0. Here is what i have:
Code:
Ubuntu 10.04
Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
TP-Link TL-WN321G wifi usb adapter as seen as
Bus 001 Device 006: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
$ iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:off/any
[Code]....
View 4 Replies
View Related
May 20, 2011
Environment
Linksys WRT54G Wireless
Laptop wireless Windows/XP
Windows/XP Hyper Terminal
Desktop Server Linux OEL 5 (not wireless) cable connected to the WRT54G router port. (I can go to the Internet with this server, but not able to communicate other computers on the WRT54G Wireless Network. Even though, the Linux Server is connected to the WRT54G router port.) From the Hyper Terminal Wireless laptop Windows/XP, I want to connect to my Linux Server.
View 1 Replies
View Related