Ubuntu Networking :: Setup User With No Internet Access?
Nov 17, 2010
I would like to set up a user account with no network access. Reason is that sometimes my little daughter plays with the computer (for example watching movies on dvd's) and I want to prevent internet access in case she plays unattended. Is there a simple way to do that? I am using ubuntu 10.04.
View 4 Replies
ADVERTISEMENT
Feb 10, 2010
Running Ubuntu 9.10 Ive just got my wireless connection working after first having got the wired eth0 connection working.
With the wired connection I could SSH into my server through my firewall/router (via a forward). I can run up VNC, from there firefox, browse the web - all is well.
I have now setup the wireless connection, using a static IP, and I can likewise SSH into my server. I can run up VNC. I can ping my router. I can log onto it via VNC. I can browse to my router. But I cant browse the internet.
But I cant ping google.com. The reason is there is no host lookup service. Nslookup eventually says no servers could be reached.
So specifically, if I ping www.google.com Im told "unknown host". If I do an NSlookup on it I get timeout, no servers could be reached. However if I ping 66.102.11.104 I get responses.
I see no relevant entries in my firewall log.
Unfortunately I cant traceroute because the package isnt found - and of course I cant install it because I have no internet !
Strangely (to me at least !) if I then tunnel through SSH and browse the web, I have no problems. It works ? I know I am browsing through my SSH tunnel because whatsmyip gives the IP of my router at home, not where Ive SSHd in from. I can surf just fine.
why I cant do host lookups any more (and this did work with my wired connection, but whether its related to my change to wireless, or static IPs or both I cant be sure - it certainly appeared to happen at the same time). And, more to the point, what I need to look for/do to rectify it ?
As a bonus Id be interested in why I can SSH and browse via tunnelling but not direct from my server (via VNC). Just for interests sake !
if config reports :
wlan0 Link encap:Ethernet HWaddr 00:90:4b:27:ae:17
inet addr:192.168.1.69 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::290:4bff:fe27:ae17/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
[Code]....
View 1 Replies
View Related
Sep 13, 2009
I have 1 root-server with 2 NICs, both having their own internet IP addresses:
Code: eth0 = 8x.x.x.183
eth2 = 8x.x.x.205 We only have one gateway on that network:
Code: gateway = 8x.x.x.1 We want to use eth2 for postfix + http, and eth0 for all the other stuff.
How can this be setup ? With route / ip route / iptables ?
View 1 Replies
View Related
Nov 8, 2010
I have Dlink Wireless G Access Point.
I can connect to my access point to surf internet. I setup my Dlink access point (password, network name, etc) in Vista by visiting "http://dlinkap/" in my web browser.
In ubuntu, I can connect and surf the web/internet but i cannot access the setup page.
When I try to type the "http://dlinkap/" to my browser then the browser will redirect it to google search.
I try 192.168.1.1, I can access my linksys router. but my dlink access point, i cannot access the setup page.
View 8 Replies
View Related
Apr 7, 2010
I installed and tested both Windows server 2003 and Red Hat 9.0 with vmware workstation7. After installing 2003 can access internet but Red Hat can't. I want to test squid proxy server, send mail server, webserver etc. So, I would like to know how to setup WMware's network configuration for Red hat can access internet.
Below link is the configuration of VMware network setup both Server 2003 and Red Hat.
Here is Red Hat Configuration:
http://i64.servimg.com/u/f64/11/74/16/17/linux10.jpg
Here is Windows Server 2003 configuration:
[url]
I am using wireless connection to access internet.
View 1 Replies
View Related
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
Sep 16, 2010
I have a LAMP server running. Currently there are not vhosts, just the basic single site apache2 running a web app. I want to set up ftp access to the www root, but my attempts have failed. When I try to ftp using the user I created, I get dumped in the users home directory. I can also browse the entire file system. What I can't do is upload content to the www root. I get permission errors. How can I set ftp up to allow a user to access the www root only?
View 9 Replies
View Related
Feb 21, 2011
I have a mercurial repository on a secure server, to which I want to grant secure access to an external user.
I added for him a user account and publickey ssh authentication so that now he could push/pull changesets via ssh.
My question is: how can I make this new user account completely disabled from doing anything or accessing any data on the server other than accessing the repository? E.g. he shouldn't even have the possibility to enter an interactive shell session.
View 1 Replies
View Related
Jan 17, 2011
I have a Lucid Ubuntu installed on my home PC with two user accounts, AmHero and simple. I would like to have all internet access disabled when my kids login with the 'simple' userid. And yes, internet should work when I login using AmHero. I tried this:
[URL]
..but this does not work and gives some errors on the terminal.
I can paste the errors, though I am not sure this will even work as I found this in an old post.
View 6 Replies
View Related
Mar 28, 2011
My laptop is running Ubuntu 10.04. I have my own account (custom) and 1 desktop user account.
When I log in under my account and switch to the desktop user account, I can connect to the internet. However, if I start the laptop and log into the desktop user account first I get no internet connection and the same when I switch to my own (custom) account. What gives?
View 3 Replies
View Related
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
Mar 8, 2011
setup user authentication server and internet accounting server like ISA and Active Directory in Windows?
View 4 Replies
View Related
Mar 26, 2010
I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-
Quote:
root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Query :-
1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).
2) Is there a way to
a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working
(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)
Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)
View 4 Replies
View Related
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
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
Oct 27, 2009
I windows xp. I install vmware on it and install centos 5. Now how to use internet in centos 5 using user name and password. Our internet provider give us user name and password.
View 1 Replies
View Related
Oct 20, 2010
LinuxA & LinuxB
linuxA:eth0(10.1.1.1) connected linuxB:eth0 (10.1.1.2)
linuxA:eth1(202.1.20.45) connected internet
[code]....
View 2 Replies
View Related
Feb 1, 2010
I just finished downloading the latest version of xubuntu on my dell insperon 1545. I went to set up the internet and i cannot figure out how. In the top right corner the connection icon has only one option that i can select, and thats configure the vpn settings i think. I installed it using dual booting next to windows 7, so i keep switching back and forth trying to look something up and go back to see if it will work. However, i think i should make the point that i've never worked with any linux type o.s. before.
View 7 Replies
View Related
Dec 22, 2010
I newly installed ubuntu 9, but I am not able to setup the internet dialer. I am not using cable modem. Lan cable from my isp's switch is directly connected to my Pc's ethernet card. In windows XP one dialer is created using Rasppoe. In ubuntu I tried it using pppoeconf command but itis notable to setup the connection.
View 3 Replies
View Related
Jun 26, 2011
I have a 2G Broadband service through my Ethernet cable. My provider in China has a user name and password to login to their service. I don?t have a modem or anything but the wire coming in from the outside. It is setup in windows but I can?t figure out how to do it in Ubuntu 11.04.
View 1 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
Jun 2, 2010
I have BIG troubles trying to set up wired internet connection in Ubuntu! To be able to connect to the internet I have to enter my MAC address, 2 IPs, netmask and 2 DNS address. When I try to edit the default internet connection eth0 with my correct information, the minute I enter my MAC address and save the changes the network manager creates new internet connection with wrong data and use it instead! I can't select the correct internet connection from the top bar where the internet icon is, because it is just not there. The only connection that I can choice is the new default one with the wrong data! If I try to create new separate internet connection with my correct data the same thing happens! The moment I enter my MAC address and save it, the internet connection disapears from the list of internet connections in the internet area in the top bar and I can't select it. I tried googling it, but with no luck I think that if I set up my connection trough the terminal everything will be ok
View 2 Replies
View Related
Aug 27, 2010
There is 2 networks that I would like to be part of
a) Through my wlan0 --> Internet DSL
and
b) Through my eth0 --> WUG - PTAWUG
I can only get one of the networks to work at 'n time. The wlan0 works fine when I start my PC, but when I want to access the WUG I need to do the following command:
Code:
sudo route add -net 172.16.0.0 netmask 255.240.0.0 gw 172.24.6.177 dev eth0
with the above command, I can then access the WUG but not the internet through my wlan anymore.all data goes to my wlan as standard unless its on the 172.16.0.0 network
View 5 Replies
View Related
Jan 26, 2011
Just installed ubuntu 10.10 on a Compaq Presario X6000 laptop... installed it inside Windows 7 and now I'm having problems going to the internet (wired.. or wireless).
View 3 Replies
View Related
Feb 23, 2010
I've recently installed noip2 which installed fine. Except when I try connect to my noip domain it sends me to my router login page and won't let me access my ubuntu box. How can I set my noip domain so when I connect, it will allow me to access SSH, sabnzbd, etc., instead of forwarding me to the router login page. I'm sensing that I may have to set the ubuntu box to a static ip and forward the various ports of SSH, sabnzbd, etc to it. Would this be correct?
View 3 Replies
View Related
Jun 20, 2010
I am trying to set up my Ubuntu 10.04 netbook to see my WinXP desktop's files and vice a versa. I followed the steps in this tutorial thread: HOWTO: Setup Samba peer-to-peer with Windows. I got as far as "Time to add yourself as an samba user." at this point I keep getting the following error:
Code:
sudo smbpasswd -L -a WinXP_User_Name
New SMB password:
Retype new SMB password:
Failed to add entry for user WinXP_User_Name.
My WinXP machine has no password.
My conf file is here:
[global]
; General server settings
; netbios name = WinXP_Computer_Name
server string =
; workgroup = WinXP_WorkStation_Name
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
passdb backend = tdbsam
security = user .....
View 9 Replies
View Related
Feb 10, 2010
I have kubuntu 8.10 up and running however I am not able to get internet configured. this is on a laptop i re-purposed. I have ubuntu on a desktop that works just fine. however w/ kubuntu no such luck. i realize its just kde vs gnome and am connected to the same router and such so all should work just fine, but alas it doesn't.the desktop is configured using dhcp, not static IPs.
the laptop w/ kubuntu isn't recognizing eth0
>cat /etc/network/interfaces displays:
auto eth0
iface eth0 inet dhcp
after restarting and running /etc/init.d/network restart.there is no resolv.conf... i understand dhcp should auto-create this? furthermore running ifconfig desplays no results ?
View 5 Replies
View Related
Feb 25, 2010
Alright, I've been trying to get this fixed on my own, but I think I am missing a fundamental principle and no amount of scripts or hacks is gonna take place of that. I have adito/OpenVPN installed on my media center. It runs fine and I can access adito in my internal network from other computers just fine. But, the whole point is I want to be able to access it remotely!
Now, I had previously made a run at an external FTP site and failed miserably at that, and I think its all coming down to me not knowing how to configure my own router. I have a Netgear router, I can log into it and under Router status I can get what looks to be my routers external IP address. But if I try to access it at https://XXX.XXX.XXX.XXX:4433 (didn't want to use the default port, 443) I get nothing.
So, my main problems as I understand them are:
1)I need to clear the firewall on my router to allow traffic in/out of my reserved port
2)I need to forward incoming requests on that port to the static internal IP of my media center
3)I really would like a more reliable way to verify the info im getting from my routers admin settings page is actually my external IP, is there a command for this or a website that will tell me?
View 2 Replies
View Related
Nov 19, 2010
I want to setup samba on Maverick. This is the case. I have 2 folders want to be shared, freeaccess and restrictedaccess. The freeaccess folder can be accessed by everyone on network. The restritedaccess folder can only be accessed with account named someone. What I want to ask is, how to setup samba that can solve that case...??
View 9 Replies
View Related
Apr 2, 2011
I'm trying to setup my ubuntu server as an access point but am running into some issues.
The server has an Atheros wireless card (AR5008 chipset) and I have used the following link to set it up in master mode using madwifi drivers: [URL]
I then used this link to set it upas an access point using hostapd. [URL]
But inspite of following the above steps, other wireless clients in my LAN are unable to see the ssid "Linuxmaster"
Although iwconfig shows that the card is in master mode.
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"Linuxmaster"
[Code].....
View 1 Replies
View Related