Ubuntu Networking :: Sharing Internet Access And Local Files/server
Jan 16, 2011
i would like to setup one of my old pcs as a file server and internet gateway; we are living in a large building shared with 40 others. the ubuntu box would be the one connected to the internet via ethernet and sharing connexion via wifi. i haven't started yet - presently, i am doing the ground work and reading before to start i understand sharing the internet is relatively simple and can be done from the GUI
What we would like is slightly like BT Fon or BT Open Zone in the UK: you can hook on a free network but in order to access outside (internet: email, web, ftp, etc) you need to login login would help us monitor fair usage. I imagine something with username and password for each user would do: as we are a few in the same building not everyone is actually paying for the connection and we don't want to end up with rather large excess bills. So the ones who are paying access both files and internet; those who dont just have access to the files on the local server.
Do i need Ubuntu server to set this up? What hardware would be ideal - given we are all far from rich but willing to have a nice setup
It would be great if you could share some knowledge around the topic and eventually provide some tutorial; also any heads-up on the hardware side would be great! (signal booster, etc - there's 3 floors and 3 buildings)
View 1 Replies
ADVERTISEMENT
Jul 7, 2011
Im using WPA with a TKIP pre-shared key...Can a client pc im sharing my key with access my files if im not file sharing? Router config?
View 2 Replies
View Related
Jul 30, 2011
I have a non-profit company. Currently we are using Dropbox to store and share files. We have the free 2 gig account and we are quickly running out of space. Naturally, we don't have a lot of money so I'm looking for a cheap alternative. I thought I might be able to set up a linux server in my home (with a back-up drive) do to the same thing. I want my board members and staff to be able to access these files from their homes or jobs and to be able to manipulate the files on the server. I'd like to be able to control access levels so that I can limit access to certain files and folders. I have a tech background but none of the others do so FTP is not really an option. It needs to be as simple as if they were looking at a file on their pc. Is this possible or am I totally dreaming here?
Right now I'm using Ubuntu but I just downloaded Fedora 15 and plan to play around with that a bit. The pc's I have are P4 2.6 with 1G RAM.
View 7 Replies
View Related
Jun 4, 2010
my computer with ubuntu 9.10 is in a LAN. We use static ip and do not have dhcp. I can go up to our server and browse our website but cannot access internet. my ifconfig, iwconfig, lspci are as follows...
[Code]....
View 3 Replies
View Related
Mar 22, 2011
I have created more A record in dns. one record is link to my local ip, i have already static ip, how can i access my local website from global.
View 11 Replies
View Related
Dec 30, 2009
I have a wired lan at home with 2 XP boxes connecting to a router to a DSL modem. I want to network my laptop, running only fedora os, for file sharing, printing and internet access. I will be using the laptop probably exclusively for creating/maintaining a Drupal-based (LAMP) e-commerce site to replace our old one for our small family business.
View 4 Replies
View Related
Jan 18, 2009
Sharing big files trough internet with Windows
View 1 Replies
View Related
Mar 4, 2011
I am wanting a computer with an external dialup modem (ppp0 modem through a com port /dev/ttys1) to act as a gateway to the internet, forwarding internet traffic through ethernet (eth0 is set to static 192.168.2.2) to a router (the router is 192.168.2.1) where it will be broadcast to other wireless computers like my laptop (192.168.2.3). I've had this setup until recently when the gateway computer (the one with the modem) died. Now I'm replacing that machine with another box and an install of Ubuntu 10.10 but so far things aren't working for me.
Success so far:I have dialup access working on the new box. Took me a while to work out the configuration for getting dialup working, though the IP address is Dynamic (or it won't stay connected), "Check carrier line" is off, and "Ignore Terminal Strings (stupid mode)" is on in order to successfully connect and stay connected to my ISP. I also had to make my normal (non-root) user "lancer" a member of the "pid" group (the reboot) in order to use gnome-ppp as non-root. The laptop (192.168.2.3) is successfully connecting to the router (192.168.2.1) as I can see the router configuration page when I type http://192.168.2.1 into the laptop's web browser. This setup is unchanged from how I had it before when this was previously working and I don't want to change how the router itself is set up. What I want is to know what to fix in the new box in order to get it connected to the router (through ethernet) and bridging the internet through.
My problem is that whenever I plug in the eth0 from the gateway (192.168.2.2) to the router (192.168.2.1), Ubuntu's automatic plug-me-in network detection kicks in and I find my dialup no longer working through some kind of IP conflict (at least that's what I think it is). Maybe I don't have the "gateway" correctly assigned? (in the gateway computer for the ethernet connection, I had it pointing to itself as I don't know what to put for "gateway IP" as that is automatic So, just to check my connection, here I am pinging google (from the gateway computer which has the dialup modem) once a dialup connection has been made.
Code:
lancer@lancer-desktop:~$ ping www.google.com
PING www.l.google.com (74.125.237.17) 56(84) bytes of data.
64 bytes from 74.125.237.17: icmp_req=1 ttl=55 time=179 ms
64 bytes from 74.125.237.17: icmp_req=2 ttl=55 time=176 ms
64 bytes from 74.125.237.17: icmp_req=3 ttl=55 time=158 ms
[Code]...
What do I need to do in order to make Ubuntu of my gateway computer stay connected to my dialup but also simultaneously share an ethernet LAN to my wireless router and feed traffic to the other computers from there? I have googled this but some of the most promising instruction (e.g. http://www.ubuntugeek.com/sharing-in...in-ubuntu.html) call for packages like dnsmasq or ipmasq which seem defunct now in Ubuntu 10.10. Other pages seem to suggest dual-networks "can't be done" in Ubuntu [URL].. (what!?! I had it before my other gateway died)
View 1 Replies
View Related
Oct 1, 2009
In my computer networking class I have the option of doing a project where I set up a dns server for our classroom network. The problem is that this network is totally separate from the school network and we aren't allowed to connect it to the internet. I want all the machines to ping each other by name instead of ip using dns instead of host files on all 20 computers. I read on a site somewhere that you cannot do this because the dns queries will always go to the root servers. Is this correct? Is there some way I can do this using dns? The machine in question is using Ubuntu 9.04.
View 1 Replies
View Related
May 19, 2011
i'm trying to rig up my machine as a household server, i had it sharing internet to my other computers via a wifi router. (machine is a desktop and i have no wifi cards for it)then i installed java, squid and SAMBA. since then the other machines can't detect internet. java is screwy.i've updated it and it reduces the screen scramble.but squid is what has me.it seems to stop ubuntu telling my windows machines (win 7, and win xp) that there is internet available.intrestingly i can play multiplayer games on the windows machines with a ip address.(ip address of a mate. connected and ran ok.)
system specs
ubuntu 11? (i know it updated from 10 a few weeks ago)
internet - DODO mobile broadband (piggybacks on yes optus australia)
wifi- via router connected to eth0
so someone know how to either
1. get ubuntu to state it's sharing internet again. or
2. turn mobile broadband off for 5-10 secs, re-enable, then connect to a mobile broadband called DODO automatically when internet drops out (a script perhaps?)
View 3 Replies
View Related
Jun 3, 2009
I am working one linux server and 5 win xp systems. They connected in lan. In linux server have one builtin lan card and one add-on lan card. Add-on card configured ip which has ISP given.
View 1 Replies
View Related
Sep 20, 2010
i want to share the Internet connection to thin client from my Ubuntu server,Internet is accessible to my Ubuntu server but i am unable to boot from thin client to server,i configured DHCP but of no use.can any plz send me the detailed steps to configure thin clients in my network
View 1 Replies
View Related
Oct 14, 2010
How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.
View 3 Replies
View Related
Nov 9, 2010
I have dynamic internet connection. In my network one machine run glassfish server in port 8080 (it IP address 192.168.1.3). If I type http://192.168.1.3:8080/ that load my glassfish server page. What I want is using dynamic IP like http://<DynamicIP>:8080/ load my glassfish server page. How can I do it ? My router is Dlink GLB-802C > I haven't good knowledge about network.
View 3 Replies
View Related
Sep 22, 2010
plz can any one help me in configuring linux server 5.0 to share the internet connection to thinclient and the steps reqiure at client side and server
View 2 Replies
View Related
Jan 26, 2011
I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17
My site is at [URL]
Here is the output of ifconfig
Code:
eth0 Link encap:Ethernet HWaddr 00:26:22:50:0f:0a
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
[Code]....
View 4 Replies
View Related
Jul 16, 2010
Has anyone ever shared a network connection with another computer using Ubuntu/Linux? I have got a connection to the Local Area Network of my organization, but the problem is, it is only one. I have a laptop and I requested a connection for it, too. But the request was denied and one of the techs at IT department tipped me that I could create my own PAN on which my computer (which is a client on the organization LAN) would act as a server for my PAN and my laptop can access Internet if you choose to share your Internet access over the PAN...
I have no idea about networking and stuff. And that fella was too busy to lemme know how to set up this whole thing. Besides, he is a Microsoft Expert, probably never touched Linux. The situation gets worse... I don't wanna spend money on a Wi-Fi router. Instead, I could use the built-in Bluetooth module on my laptop with another Bluetooth Blip which is connected to my computer on USB port. I know people do that fairly commonly over Windows, since I have googled and found many posts regarding sharing an Internet connection through a Bluetooth connection with another computer.
A fairly old computer
Intel Pentium IV 3.0GHz
1GB RAM
80GB HDD
External Bluetooth Device (Not sure about Specs)
Linux Ubuntu Lucid Linx (10.04)
Connected to Internet through a proxy server
I want to make this one my server for PAN
A relatively modern laptop
HP HDX-16t
Intel Core2Duo 2.2GHz
2GB RAM
320GB HDD
Built-In HP Integrated Bluetooth Module
Windows Vista 64-bit Home Edition
No connection to Internet
I want to make it able to connect to Internet through PAN
View 9 Replies
View Related
Feb 19, 2010
Running Ubuntu 9.10. In the Remote Desktop config dialog I get: "Your desktop is only reachable over the local network. Others can access your computer using the address 127.0.0.1 or tabatha.local." I understand this means only the loopback ip address is available. All my other machines show their true local ip address (e.g., 192.168.1.104) in this dialog. Thus I cannot log on to this desktop from other machines.
When I try to do a remote logon from another Ubuntu 9.10 box (or from an XP box using a VNC viewer), I get: "Connection to 192.168.1.102 has been closed." What steps are needed to make this machine show its actual ip address? All file sharing between the various machines is working properly and all windows shares back and forth between XP and 'nix, and among the the vaious XP boxes and linux boxes are available as designed.
View 1 Replies
View Related
May 31, 2010
I have a server at home running as a file server and DHCP connected to a switch with a wireless AP in there as-well. with this setup I can access the files and do some configurations via SSH on the actual server anytime I'm able to get the wireless signal, now lately I felt the need to be able to do the same but this time over the internet. I've read somewhere already that I'm gonna need a router with port forwarding and NAT, then know the IP address of the server but my problem is once you start talking about routers then you need broadband connection which is something I don't have. Getting a router is not much of a problem but without ADSL like connection I guess its useless, what do I need to do?
View 7 Replies
View Related
Nov 21, 2010
I can see the network shares, but when I click on one of them, I get the message:Unable to mount location (header)Failed to retrieve share list from server (body)This worked fine for me in the previous versions, so I don't know what to try.On the windows machine, the share can also be seen but not permitted to connect.
View 1 Replies
View Related
May 25, 2011
I'm trying to set up a wireless AP with Internet sharing. I currently have the AP setup with hostapd and a dhcp server. The clients can connect but there is not Internet sharing. Now my situation is somewhat uniqe in that my internet connection is my teathered android cell phone. The tether app is azilink and i use openvpn to create a virtual networking interface(tun0).
View 4 Replies
View Related
Jun 19, 2011
I have a server that was set up by a friend so I have a location to save all my documents for work in a RAID array.
It is on a static IP address, I can ping the hub and other computers on the network absolutely fine.
I can't connect to the internet, the router in question is a Netgear CG3101D. Logging into the router I can see that the server is a trusted device and in all the parameters are the same as other computer running Ubuntu Studio.
Does anyone have any tips of how I can find out how to find what is wrong?
It is Ubuntu 10.04.2 LTS (Lucid).
View 3 Replies
View Related
Jan 2, 2011
I'm setting up an old box as a dedicated file-sharing server on the LAN as well as an internet web server for my personal web site but I have no network connection. My computer is connected to a router which is connected to my DSL modem. The router has the Ubuntu box's MAC address as well as a Win7 box, which connects to the internet fine.
Here is what I've tried:
1. Check routing table
Code:
2. Try to add a default gateway to the internet on eth2, this happens:
Code:
3. I edited resolv.conf, which was empty, adding:
4. I edited /etc/network/interfaces as follows:
Code:
Then I type the following:
Code:
And it keeps doing this endlessly because it's not finding the DHCP server, presumably...? This didn't solve the problem and so I attempted another configuration:
Code:
Still, not internet connection and no ability to apt-get anything (says packages not found)
So, this didn't work either. What I've tried should work, especially the route command. Now why won't it work?
View 13 Replies
View Related
Aug 26, 2010
I have a linux box (fedora) with two ethernet cards eth1 and eth2. On eth1 I successfully configured a PPPOE internet connection. Such that from the server I can browse the internet. On eth2 I wired it to a wireless router essentially to provide the wireless cloud. On eth2 I also configured dhcp, such that the Linux box is both PPPOE and DHCP server.However my clients on the LAN cannot access the Internet.
On passing the routing command I get
Destination Gateway Iface
196.44.x.y 0.0.0.0 ppp0
192.168.1.0 0.0.0.0 eth2 (my subnet)
0.0.0.0 0.0.0.0 ppp0.
The router (functioning as a wireless access point mainly) has a fixed IP address of 192.168.1.2 and eth2 has IP address 192.168.1.1. The dhcp file running on Linux has been set with option router (Gateway) 192.168.1.1. I cannot figure out how to correctly set the routing table such that my clients on wireless can access the internet cloud. I googled and googled but no solid solution. Any suggestions?
View 3 Replies
View Related
Jan 7, 2010
i have successfully setup PPTPD on my server and I can open a VPN tunnel but my clients can only ping the server's IP, they don't have access to the internet through the VPN.
i have searched different forums and understand that I have to create a route on the server to route packets between the VPN interface and my internet gateway, but I didn't manage to get this work.
here is what my setup looks like:
Code:
root@r31495:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:1c:c0:c7:13:35
inet addr:94.23.197.XX Bcast:94.23.197.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[Code]....
View 9 Replies
View Related
May 26, 2011
I have my ubuntu comp setup as a media server and works fine with mythtv etc but I also want to access the files from my computers in the other rooms (most have windows 7). I was able to share the file containing the videos easy enough by right clicking the file and checking all of the sharing options the first time. I have been able to access all the files that i originally put in the folder and stream video to my other computers without issue.
However any new files I add to the folders I am now unable to access. The files show up but when I click on them it says I don't have permission. I have tried unsharing the folder and redoing it but I come to the same issue. I am sure I am just forgetting an easy step but I can't think of what that is. Also want to make sure that any new files I add to this folder will work instantly across the network.
View 2 Replies
View Related
Jan 15, 2011
I have install centos 5 in my dell laptop, now i want to configure and run wifi to access internet through wireless.
View 5 Replies
View Related
Jan 24, 2010
I'm running an own PPTP Server, but I can't get it to access the internet. All my PCs at home run in the 192.168.0.0/24 net, the PPTP Server has local IP192.168.0.5 and remote IP 192.168.0.80-99. The router to the internet is at 192.168.0.1, and the IP of eth0 on the machine where the pptpd runs is 192.168.0.4. I want to be able to connect to the internet trough that VPN and access my local LAN servers (which works fine so far). I can ping internet and local IPs successfully, but can not access them with a browser, or connect to them in any other way. I have 'accepted' all in/output and forwards.
I am running a Squid proxy on the same machine, and if I do:
iptables -t nat -A PREROUTING -j REDIRECT -i ppp0 -s 192.168.0.0/24 -p tcp --dport 80 --to-port 3128
I can access the internet through Squid, but of course Jabber/ICQ etc. Won't work then because it just refers port 80. But I want the PPTP Clients to connect to the internet directly, if I don't use that rule it's not possible to load any pages. But pinging works all the time. DNS is also working fine, but I can't even access webpages via IP directly. How can I allow the PPTP IPs 192.168.0.80-99 to get direct access to the Internet with Iptables?
View 3 Replies
View Related
Jan 17, 2009
I've installed centos 5 on an old computer with success and it works great.I can access the web server hosted on the centos server from any computer on the wireless and wired local network. I can also use ssh (putty) and nx client from any computer on the local network (wired and wireless) to access the centos server.On the wireless router I've configured a port forwarding to the wireless network interface on the centos server. I can access the centos server from the outside (internet) through this port forwarding both through http and ssh or nx client.MY problem is that I can't access the centos server from the internet through the wired network interface. Any attempt to view a web page or login with ssh or the nx client will timeout.
View 9 Replies
View Related
May 14, 2010
I have a local network of two computers running ubuntu connected via a Netgear FR114P. I also have one of the computers connected WiFi to the internet. Can I get on the internet from the alternate computer via the network? Some assistance is appreciated as I am a relative newcomer to this area.
View 2 Replies
View Related