Ubuntu :: Use Computer As A Router?
Nov 10, 2010
I am using ubuntu in my computer...i need to use my computer as a router and to run dynamic routing protocol(RIP) in my computer.I am used to router configuration and commands.but how can i use the same in my computer.
View 1 Replies
ADVERTISEMENT
Jan 30, 2010
I want to show you this scheme:MyPC -> router -> internet <- router <- Mom'spc I want to connect from my pc to my mom's pc using ssh. The first router doesn't represent a problem, but my mom's router does. Our IPs are both dynamic (anyway, I can easyly know them) and I have opened the port (TCP/UDP) 2100 on the router in order to open a gateway on mom's pc.The firewall is not enabled on the router, nor on mom's pc.
Granted all this, now I should be able to connect to that computer using ssh:ssh user@ip -p 2100 But I can't, I always get a "connection refused".if I do it on my intranet, I can connect without any problem (to others computers, of course, not mom's) What's the reason because I always get a connection refused?
View 1 Replies
View Related
Aug 2, 2010
is it safe to use a wireless router on my computer but still keep all my info safe that i am working on in ubuntu forums
View 3 Replies
View Related
Sep 1, 2011
I have read in a forum that a computer can have the same MAC Address with its router in the sane LAN but how is that possible? Isn't every MAC unique? Also I have not understood, when we send a packet to a PC that is not in our LAN the packet should have the IP Address or the MAC Address of the computer that we want to send?
View 3 Replies
View Related
Dec 25, 2010
I want to use a linux computer as a router in a medium sized organization. we have around 10MB internet and we have to distribute it among some 2000 pcs. so i have a computer available, and wanted to do some bandwidth management on it (with tc). want to know if this is possible or if it might create a bottle neck.(the internet is coming from 2 different ISPs). Using a router is not an option, coz our organization is happy with what they get currently BUT since its unmanaged it has lots of problems, and also there is no money for buying a router
View 9 Replies
View Related
Mar 19, 2011
downloaded the Ubuntu Netbook OS and it works great but I have a Hp mini 1010nr with built in wifi. I can not get Ubuntu to recognise it and so my Computer will not find my router network. How do I get it to get online? [URL]...
View 1 Replies
View Related
Sep 6, 2010
My son needs me to do maintenance on his computer. He has a router installed for firewall purposes. I can see his router's IP address. How do I get past that address to his local address?
View 14 Replies
View Related
Apr 4, 2010
I have a Belkin Wireless G F5D7230-4. I was attempting to configure a wireless card on another computer on my network when it froze during the reboot phase after making settings adjustments. The wired connection is fine, except on that computer that I was making the adjustments from. It won't connect at all. I plugged a friends netbook into the same wired line and it connected. Also there is no wireless signal on any laptops. Mac, Win Linux, don't matter. I tried all the various methods of resetting to default but still when I try to access the router's config page @ http://192.168.2.1 I get the error Code: The server at 192.168.2.1 is taking too long to respond.
[Code]...
View 2 Replies
View Related
May 18, 2010
I'm trying to make my wireless router always give me the same ip address every boot (192.168.1.100). I do not have a static ip address from my isp.
Everything I've tried from online help has made my internet break and I'm not even sure what exactly I should be searching for on google.
Ultimately, I'm trying to get my wireless router to forward ftp requests to my computer which shares the network with an xp machine. I think this is the way to go about it.
View 8 Replies
View Related
Sep 20, 2010
I have a desktop computer (Ubuntu) connected to one of the LAN ports of the Cradlepoint MBR1000 router via an Ethernet cable. I also have a Verizon mobile broadband USB modem (USB760) plugged into the USB port of the Cradlepoint router.I also have a laptop (Ubuntu) with a wireless wi-fi adapter (802.11g). The laptop also has an Ethernet card but I'm not using it. The desktop computer does not have a wi-fi adapter, only the laptop does.
With the above setup, I have Internet access to both the desktop computer as well as the laptop computer, which I am well pleased with.Is there a way I can have file sharing between the desktop and the laptop, or at least ping between them, the way I have it set up? I can't use the ad-hoc method because for that to work each computer needs a wi-fi adapter. The router is using DHCP but can also be configured manually.
View 14 Replies
View Related
Nov 20, 2010
When one should try to connect to port 3306 of particular ip here e.g. 345.56.67.87 it should be redirected to port 3306 of internal machine. This is the scene : How can I access the particular port of the machine which is behind the router . i.e. From out side internet I would like to connect to the port 21 of the machine (192.168.5.8) which is behind router (345.56.67.87) . Here are the details I tried : both side linux (centos)
1.enabled ip forwarding of router (345.56.67.87)
2.enabled ip forwarding of machine (192.168.5.8)
3.implemented some iptable rules: /sbin/iptables -t nat -A OUTPUT --dst 345.56.67.87-p tcp --dport 3306 -j DNAT --to-destination 192.168.5.8:3306
4.iptables -t nat -A OUTPUT --dst 345.56.67.87 -p tcp --dport 3306 -j DNAT--to-destination 192.168.5.8:3306
I tried to google on it mainly it dealt with the iptable rules. of which i applied but error is" can not connect to the port 3306 of 192.168.5.8"
View 1 Replies
View Related
Apr 4, 2011
just switched from Windows Vista to Ubuntu 10.10 on my Toshiba laptop and I'm loving it, except for some wireless connection problems. About 70% of the time, my computer is unable to find any wireless signals whatsoever, despite being right next to the router. When it does find the signal it connects fine and runs great, but most of the time it doesn't show any signals at all. I can't find any pattern to when it does or doesn't find the signal. My result for the "sudo lshw -C network"
[code]...
View 2 Replies
View Related
Aug 16, 2011
I have an old hp that i installed ubuntu on and I was wondering how I can turn it into a real router. By real router I don't just mean broadcast the internet but use security software, configurations, and all the stuff normally found on a real router. What are the steps i need to take? I dont have 2 NIC's in it just one but I do have a wireless usb that I can just stick into it.
View 1 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
Sep 25, 2010
Would it be possible to insert another wired network card into the router-connected computer, share the internet connection and be able to transfer files between the two?
View 1 Replies
View Related
Sep 30, 2010
The dhcp doesnt work unless i put a switch or router between the ubuntu gateway and the connecting computer.
setup
Code:
Code:
Code:
Code:
Im on ubuntu 10.04. is this normal? or should i be able to connect without having a router or switch between the ubuntu server and the internal network....
View 3 Replies
View Related
Dec 29, 2009
I've just spent the entire night trying to get my computer to share Internet with my laptop. I have DSL Internet with the modem configured to bridge mode. On the openSUSE server I have two NIC's. When setting up the DSL (pppoe) it created a dsl0 which is using the NIC eth0. So now I have dsl0, eth0, and eth1 I configured eth1 for DHCP server. When I connect with my laptop using DHCP it gets an IP address just fine. However I can't access the Internet. I think my problem is in the Kernel IP Routing Table. Here is the output from /sbin/route -n
[Code]...
dsl0 obtains IP from ISP eth0 is set to DHCP although that confuses me because how can the same NIC have two IP Addresses? eth1 static IP 10.30.60.1
View 5 Replies
View Related
Jan 6, 2011
it started with rooting my Motorola Droid. I got quite interested in the whole rooting/linux "world". The only problem is, my hands move A LOT faster than my brain does. I'm an "educated novice" at best when it comes to all of this and still learning slowly, but surely. I followed an online tutorial and before I realized quite what i'd done, I had dual installed Ubuntu linux 10.10 on my laptop. ISO'd this, partitioned that and realized....i'm in way over my head. Then I started researching how to just go back in time and get my "safe" windows vista back until I'm ready to make the switch to linux and just ended up getting more confused.
How do I actually BOOT into Windows on a dual boot computer that I apparently just created? How, if need be, do I undo everything I just did in the past few hours and careless tinkering? If I decide to stay with Linux, how do I get my damn wireless router to recognize?
View 9 Replies
View Related
Sep 4, 2009
I wanted to know if i can install mrtg on a client computer in network and measure the network's router traffic.i know that it can be installed on the server.
View 5 Replies
View Related
Jan 21, 2010
I'm going to start a new thread because previous searches have not totally satisfied my question. I've read all day about doing this but each inquiry leads to discussion of configuring the router. I am also not network savy. I would like to set up an FTP server on my home computer (presently Ubuntu 8.10). I have only one computer. I am using DSL with my telephone line for internet connection. I do not use a router.
Is it possible to do this with no router and only a DSL ISP connection?
View 3 Replies
View Related
Apr 13, 2010
Because of the configuration of my house, I need two routers.I have a DLink ADSL router as my main router and the Belkin N1 as my repeater.I have set up the IP address in the Belkin to be 10.1.1.10 - my DLink is 10.1.1.1. I have disable the dhcp in the Belkin and set the DNS as ISP provided. [URL]..I have set the channel to 11 and in the Ubuntu Network Manger I have set the IPV4 to Link Local Only. I can see the Belkin and connect with my PC.but it will not take me through to the internet.
View 9 Replies
View Related
Jun 18, 2011
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?
View 1 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
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
Mar 26, 2009
These r IP provided by my ISP that i've put on Fedora 8:
WAN IP:xxx.xxx.xxx.17 (eth0)
Subnet:255.255.255.252
Gateway:xxx.xxx.xxx.18
Valid static(public) IP set of 2:
IP:xxx.xxx.xxx.147 & 148 (eth1, eth2)
Subnet:255.255.255.240
i want to run xxx.xxx.xxx.147 as a web server & xxx.xxx.xxx.148 as a ftp server. but I'm able to ping only xxx.xxx.xxx.17(WAN IP) from outside world. Can any1 tell me that how can i bring my 147 & 148 IP online without router.
View 6 Replies
View Related
Dec 12, 2010
I was just wondering if there is there is any difference between a $29.95 router and a $109.95 router. Like is a more expensive router more apt to transfer data to my laptop quicker.
View 9 Replies
View Related
Oct 30, 2010
I've moved a linuxbox from being my gateway (nat, etc) to behind a new gateway (a DD-wrt router). For transparency purposes, I'd like to continue using the old box services, and just have the gateway in front of it.
Here's what I did:
The newgateway is setup for class C, 192.168.0.0
This configuration works, but sometimes it doesn't and I haven't figured out why yet.
At sometimes, clients on the LAN get throughput rates with very little speed loss (using speakeasy speed test). They will run at 33M on the LAN, running through both the newgateway, and the oldbox, and get about 35M with directly connected to the cable modem.
Other times, it seems nothing can talk with anyone, and I am not sure why.
I know what I have done is a little unconventional, but it's a transitional thing, and I am not sure it is the cause of the problem, although it was the last things changed.
View 2 Replies
View Related
Aug 1, 2010
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.
View 2 Replies
View Related
May 28, 2011
I have three computers in my network, but two will be mentioned. Computer A is a Linux Mint 9/Windows 7 dual-boot, and I have just installed Mandriva Free 2010.2, which I will call Computer B.
Now my main problem is that Computer B, while it can see and access Computer A's shares as well as the third computer, the aforementioned computers cannot access Computer B. The message was: "Unable to mount location/Failed to mount Windows share." Now, the SMB protocol was used because of the third computer and Computer A have Windows OSs installed in them.
What I originally wanted was that I can share Computer B's NTFS partition, namely Documents and Downloads, to the other computers. And I can't do that, because of the error message.
What I can do, however, is use Computer B to view shares from the other two computers (Computer A, as an example). By my experiences in Linux Mint, I understand that I'd have to mount my Windows partitions in order to share them. I don't even know if my NTFS drive in Computer B is mounted, though that is what was described.
View 2 Replies
View Related