Networking :: Ubuntu Server Can't Access Internet ?

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


ADVERTISEMENT

Ubuntu Networking :: Get Internet Access To Server?

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

General :: PPPOE Server Access Internet Clients Fail To Access Internet

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

Ubuntu Networking :: VPN Server Does Not Allow Clients To Access Internet?

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

Networking :: Access Server And Internet Through WiFi

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

Networking :: IPtables - Allow PPTP Server To Access Internet

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

CentOS 5 Networking :: Unable To Get Internet Access To 5 Server

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

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 View Related

General :: Networking With Internet Access Using FR114P Print Server

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

Ubuntu Networking :: The Phone Can Access The Internet Through The Computer Unable To Get Access To Https Sites, Like Webmails

Dec 31, 2010

I managed to configure my W890i phone to get access to internet through an ubuntu-based computer. It's very easy to use the phone to give internet access to the computer, but the opposite is quite more tricky. For that I've done the following

----On the phone---

-Set the USB network option to "through computer", so that the phone uses the computer's internet connection and not the opposite.

-Decide and set "Shared Network" parameters: user, pasword and workgroup.

-In "conectivity-> internet connection" set "allow local network" to "yes"

----On Ubuntu 10.04---

-Install samba, samba-client, smbfs, smbclient, firestarter and dhcp3-server

-Configure Samba (System-> Administration-> Shared folders): same workgroup as in the phone, add new user (the phone), passwd this new user. In my case the user was called "w890i" and the password given was the same.

-Once the phone is connected to the computer through USB (then select "phone mode"), a new connection appears in NetworkManager: usb0.The aim is to create a shared network that gives internet access to this device. Edit the IPv4 parameters of this new connection, set them to Manual and give an IP adress (192.168.0.1) and a subnet mask (255.255.255.0); the rest of the fields are left empty.Connect this network.

-Set firestarter to use dhcp3: sudo ln -sf /etc/init.d/dhcp3-server /etc/init.d/dhcpd

-Launch firestarter and follow the wizard. Set "allow internet shared connection", choose the device for the primary internet access, and then the device for the shared network (usb0). Then change the settings for firestarter: activate DHCP for local network, set IP to the one we gave before (192.168.0.1).

-Open dhcp3-server config file sudo gedit /etc/default/dhcp3-server And set INTERFACES="usb0"

-Set the policies of firestarter: in incoming connections, allow connections from the IP adress given to the phone (192.168.0.1). Then add rules for the ports that need to be open for this connection. I opened HTTP, HTTPS, SMB, SMTP, POP3, IMAP, IMAPS, DHCP for all the connections in the local network.

-Apply policies and start the firewall.

------------

After all this, the phone can access the internet through the computer. Two problems appeared:

1. I couldn't get access to https sites, like webmails. The phone gave a "communication error". But then I tried with Opera instead of the browser built in the phone's firmware, and I could finally get to https sites.

2. I couldn't retrieve mail, neither POP nor IMAP nor IMAPS. I thought it was a firmware problem again, and I tried out several mobile phone email clients written in java, but none of them worked.

So this is at the moment the problem. If I connect from the phone to the internet directly through 3G, the email clients work for all my accounts. I don't think it's a firewall problem, because the ports are opened for this connection

View 3 Replies View Related

Ubuntu Networking :: Couldn't Access Internet Via LAN With Could Access With Windows 7?

Jul 6, 2011

I connected my laptop running with Ubuntu 11 in the LAN but I couldn't access internet.But I could ping to the other computers connected in the LAN. I tried the same thing with windows 7 in the same laptop and I could access internet.

View 1 Replies View Related

Ubuntu :: Access Server From Internet?

Nov 2, 2010

Ok i want to access my server from internet, ok I have checked with my mobile internet provider (3) they say they dont block any ports, is it just a case of letting the firewall let external access to pc? ( no router just mobile dongle)And do i just ssh into external ip on ssh port

View 2 Replies View Related

Ubuntu :: Can't Access Internet On Server Setup

Jul 8, 2011

First off - I'm running 11.04 as a VPS on an OpenVZ.

I've set up a very basic environment of LAMP + mail server. Installing apache, php, mysql and proftpd all went fine, but whenever I install iRedMail (which is postfix + dovecot + clamav and few more packages) I lose the internet connection.

Although the server is easily reachable by ssh and http, I can't connect anywhere from the server. At first I thought it only had issues with resolving domain names, but now I see it doesn't even ping IPs as well.

Code:
# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1

[Code]....

View 1 Replies View Related

Ubuntu :: No Internet Access After Installing GUI On Server

Dec 14, 2010

I was having a hard time configuring ubuntu server with command line so this is the steps I did to install the GUI;

Code:

then

Code:

then

Code:

The GUI started up fine and I logged in as root, then I tried Update Manager and received this error message:

Requires installation of untrusted packages

I tried this in terminal window

Code:

and got

W: Failed to fetch [url]........(-5 - No address associated with hostname

So I did System Testing and got the result that my network was fine but my internet failed!

I could do command line update no problem before installing GUI. I can see it on the network on another computer though.

Trying to setup without the GUI is starting to look easier than with.

View 10 Replies View Related

Ubuntu Servers :: Internet Access Via Proxy Server ?

Apr 28, 2010

Ubuntu lts server distro using on remote machine. i have remote site where internet access given via squid proxy. so when we enter in browser it start working internet fine. but on command line(bash shell prompt terminal) like wget,ping,nslookup,traceroute etc these commands does not work.

View 3 Replies View Related

Ubuntu :: Firewall - Blocks All Internet Access (even From Apt) To Server

Apr 20, 2011

I'm getting my first web server configured, and as per a tutorial I found, I used shorewall. However, it blocks all internet access (even from apt) to my server! Does anyone know a decent firewall program or a good guide on configuring shorewall?

View 1 Replies View Related

Server :: Local Dns Server With No Internet Access

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

Server :: How To Get Remote / Internet And LAN Access

Jul 15, 2010

Is there a safe way for me to configure my server for access from any internet connection as well as from my home/office LAN? I'd like to be able to access file shares, webmin, the router console behind my Gateway for maintenance purposes. Access to Server Desktop itself would be a bonus.

View 12 Replies View Related

CentOS 5 :: Can't Seem To Access The Internet From 5.4 Server

May 20, 2011

I am using a CentOS 5.4 server for Snort (it's actually using the easyIDS config). I'm trying to modify some things, and I've noticed that I can't seem to download any files. WGET, FTP, etc... all just time out. It's not a network firewall issue, as I've been monitoring the logs and see no blocked traffic, and other machines on the subnet can get outside with no problems. I checked the Cent firewall using the setup command, and it says it is disabled as well. I'm very new to linux, so I'm wondering how I can troubleshoot this? The wget and ftp errors just say the connection timed out, but I'm not sure why.

View 2 Replies View Related

Ubuntu Networking :: Access Internet From The VM?

Feb 5, 2011

Could you pleaseme out.I have installed Virtual BOX on windows 7.Ubuntu i have installed on virtual box.Now i want to access internet from the Ubutu VM.

View 5 Replies View Related

Ubuntu Networking :: 10.04 - How To Get Internet Access

May 16, 2011

I'm trying Ubuntu 10.04 but I can't figure out how to connect to the Internet. I've run lspci -k & sudo lshw -C. This is the result code...

View 3 Replies View Related

Ubuntu Networking :: Can't Access Internet

May 27, 2011

I am new to Linux, But, I installed it, all went well, but now, I can't access the Internet.So, I don't know what info you guys need, so just ask.Also, if it helps, I am using Ethernet (Well, I think it's Ethernet, it is a yellow cable with a rectangle end.

View 8 Replies View Related

Networking :: Cannot Access Internet From Within Ubuntu 9.10

Jan 25, 2010

I can not access the internet from within ubuntu. I have tried pidgin firefox and ping but I do not get a reply with any of them. I do however get full access using Virtual Box OSE running Windows server 2003 running inside the machine. This is not a one off as I often have trouble connecting to internet from inside ubuntu but usually disabling then enabling networking works.

My system:
OS: Ubuntu 9.10
Wireless card: Edimax wireless 802.11b/g Turbo Mode PCI adapter.

Here is the corresponding bit from lshw:
Code:
*-network
description: Wireless interface
product: RT2561/RT61 802.11g PCI
vendor: RaLink
physical id: 0
bus info: pci@0000:05:00.0
logical name: wmaster0
version: 00
serial: 00:1f:1f:24:43:ca
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list logical ethernet physical wireless
configuration: broadcast=yes driver=rt61pci ip=192.168.1.255 latency=32 multicast=yes wireless=IEEE 802.11bg
resources: irq:20 memory:ea100000-ea107fff

I'm really confused as to why a VM would be able to access the net and not the host.

View 12 Replies View Related

Server :: Giving SSH Access To Machines On LAN From Internet?

Mar 7, 2011

I am having a server in a corporate data centre. There are some virtual machines running on it.The main server is accessible from internet via SSH. There are some people who within the lan access the virtual machines whose IPs on LAN are

Quote:
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.4

from internet only one host is allowed SSH. This machine has public IP and is also connected to LAN on the IP 192.168.1.50. Tunnel is not allowed on our network.So now I am came across a solution as explained on this link. I am not clear with on which machine .ssh/config file I add following

Code:
Host securehost.example.com ProxyCommand ssh user1@insidemachine.com nc %h %p Should above be done on gateway where public IP and ssh is allowed or client on internet who has to login. Do I need to create separate accounts on the gateway also so that the users who can SSH to gateway then are forwarded to inside machines? Or one account on gateway is sufficient for different people logging in via internet to my gateway and then forwarded to internal machine?

Then do I need to create an account user1 on the gateway also?

1) What is the correct syntax for ProxyCommand on gateway's .ssh/config should I use

Code:
ProxyCommand ssh user1@inside.machine nc %h %p
or I should use
Code:
ProxyCommand ssh user1@gateway.com in nc %h %p

2) Should I create new user accounts on gateway also which exist on internal machine?

View 4 Replies View Related

Server :: Internet Access Via Squid Proxy

Apr 28, 2010

Centos 5.4 distro using on remote machine. I have remote site where internet access given via squid proxy. So when we enter in browser it start working internet fine. But on command line (bash shell prompt terminal) like wget, ping, nslookup, traceroute etc., these commands does not work.

View 6 Replies View Related

Server :: Squid Internet Access Getting Slower?

Jul 24, 2010

I've a SQUID proxy server installed in SUSE 9.0 ES server. I've created cache dirs on seperate partitions for better caching. Its working fine. But since last 15-20 days, i've experienced very slow net access to clients. I've gone through the /var/log/messeges file, it generates a two line error messeges

client read request fd602 invalid request
parse http request: unsupported method;HET

This messege increases as the number of clients increates (for internet access). The apperance of error messege lowering down as soon as the number of clients reduces.

As the count of clients increases error messeges increases, internet access getting slower and slower.

View 1 Replies View Related

Server :: Internet Access Only For Specific IP Addresses In LAN

Feb 20, 2010

I have configured squid server and it is working fine. I want that only specific ip addresses in my LAN should be able to access internet and for that I have given these entries in access control lists in squid.conf file:

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl QUERY urlpath_regex cgi-bin ?
acl apache rep_header Server ^Apache
acl our_networks src 192.168.0.181/255.255.255.0 192.168.0.182/255.255.255.0

And in http access I have given this:
http_access allow our_networks
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all

In this I want that only 192.168.0.181 and .182 should be able to access internet but Now the problem is that all the IPs in the LAN like 192.168.0.20 are also able to access internet. What changes I need to do to allow access to specific IP addresses. I am not using any firewall or iptables entries and i am manually changing in the firefox at client side to access internet.

View 3 Replies View Related

Server :: User Access Control To Internet

Sep 29, 2010

Am using Suse 10.2 for internet and e-mail server. currently all my users have access to the internet if they know how to setup their web browsers. how do i deny some users internet access so that a user can only access his/her e-mail but not internet.

View 1 Replies View Related

CentOS 5 Server :: Allow Apache To Access The Internet?

Apr 21, 2009

We have Apache installed on CentOS 5.3 in our laboratory. Indeed the server is running fine for almost two years since it is actually the first CentOS 5 that was released just regularly updated. Now, most of our applications are custom made PHP applications and until now we somehow managed to avoid using PHP to fetch files that are on the internet itself. But now we are desperate because we need to allow PHP to fetch files through Apache but it seems as if Apache is not allowed to make a connection to the outer world. Additionally we use a proxy server to connect to the outer world so right at the beginning http_proxy is used to set that environmental variable. And for the root user it all works fine after that but it seems as if the apache user is not allowed to access the internet. Just to make a remark our web server can be accessed from the outer world so its a one way street for now.

View 1 Replies View Related

CentOS 5 Hardware :: How To Access To Server Over Internet To Bio

Feb 15, 2010

i want to buy a pci weasel, people told me i will have access to the server over internet with this board.Does anyone have any experience with this kind of card?How can i have access to server over internet to the bios,etc.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved