The last command shows successful log-ins by user, but is there a command that can be used to know when the internet was accessed last time? Is there a log of Internet connections made by the user?
just learning qemu. Been able to figure out everything fine, except one thing: what do I need to add to my qemu command-line to give my VM access to the Internet?
I read online docs, but to be honest, the VLAN/TAP stuff they describe doesn't make much sense to me.
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?
I managed to install a second hand 10Gb HDD on my old P4. I want to see how I can use this extra disk to speed up Ubuntu 10.04 if possible.
I installed my swap onto this second drive but since I never use swap I can't see any real improvement. Next, I'm considering the creation of a new partition on that disk that would handle /tmp. Could that improve access times?
Finally, what other tricks could I use with this 2nd HDD to speed things up?
I am having a problem with my internet connection. It only works half the time. Usually when i start the computer it doesn't connect until i restart anywhere from 1 - 10 times. I did sudo ifconfig while it was not working here is the output:
I'm looking to find out how many times a file has been displayed on the web. I've setup Google Analytics link tracking but I'm trying to figure out how many times BEFORE Google analytics was setup people clicked and viewed a pdf file.
Is there a script that I could run through the log files to find out how many times it has been served?
I'm having here at home one quite addicted Farmville & similar game player which I would like to somewhat control in at least late night/early morning hours, Was browsing a while around for a program which could be used as a webpage blocker for several hours (predefined time), but all I came up was either scripts which I don't understand (I myself can be counted as a newbie in Linux stuff) and don't want to risk blindly or just user account time manager (timekpr).
I found a great solution in my case for MacOS users called SelfControl, but as you can guess ... there's no Linux native client for that. So, my question is - is there any easy and understandable way to block specific webpages for a predefined time period (let's say, every morning from 03:00CET - 08:00CET)?
OS: Ubuntu 9.10 Computer knowledge of the farmer: Getting on Farmville and/or playing Gnome's Mahjongg is pretty much all.
I installed Gnome Nanny. I can choose the times when the computer can be used and limit the internet. However, these times are not being enforced. Is there some other settings that are used to enforce these settings?
Seismicmike here. My first post. I'll try to be as clear and concise as possible. For the sake of this post, I'm going to use 1.2.3.4 as a place holder for my public IP. On my web server, I would like to be able to access the /var/ftp directory through a web browser. I have successfully done so with Google Chrome, but I cannot access the directory in Firefox or IE. Both FF and IE ask me for authentication but then time out attempting to load the directory.
I suspect that there may be something up with switching to passive mode and/or that this issue may be more with my configuration of Firefox and not with the server (seeing as how Chrome works). Another possibility may be related to SSL. When I connect with FileZilla, I have to use the FTP over Explicit SSL/TLS option in order to connect. In any case I still would like to fix it. I would also like to avoid having to install FireFTP if at all possible.
Steps to reproduce (not that you can without my actual IP =J):
* Open Chrome * Go to ftp://1.2.3.4 * Enter username * Enter password
I'm have much computer experience but am new to Ubuntu. I typed in sudo apt-get install ubuntu-desktop and it tells me it's already installed. Good. So it should work. I type sudo/etc/init.d/gdm start and the screen goes blank for 8 seconds three times in a row and then back to the command line. I have also tried gdm start without the path before and it says GDM already running. Aborting!
while doing FTP through command prompt, connections times out after some time remaining idle, but doing ftp through browser, connection doesn't time out after some time remaining idle... why is it so?
Just re-installed Bodhi. Ran update, dist-update, set up connection and connection still slow or timing out and reporting errors in 'iwconfig'. This is 3rd re-install of this version. Have also tried 3.0 kernel and pae versions of Bodhi. Cannot get this connection up to speed and without errors. Atheros chipset ar9271.
Sorry for weird subject line and opening paragraph. Trying to make it easy to find and browse in case this gets solved and can help someone else. Not being a Linux guru, I can only hope to help others through my mistakes and ignorance.
I followed instructions to update driver listed at Linux Wireless.
In addition to following the directions at Linux Wireless, I also downloaded the GUI Program to install ath9k_htc.
No luck. My connection reports 1M/s and is reporting "invalid misc:" errors in iwconfig.
I'm running Midori browser but apt-get and wget are also downloading slowly.
I'm connecting to a Zyxel 660 series router using WPA/WPA2.
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
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.
I installed 11.3amd64 as a VM under Vista/VMWare Player - all worked fine. I have now installed it as a physical system. It nstalled cleanly BUT during first boot it could not access the repos. With each repo it gave the message
- download (curl) error for (repo) - error code connection failed - error message could not resolve host (repo)
This was followed by a message box containing
- UI syntax error - no widget with ID 'contents
Firefox could not access the internet (cannot find server) until I disabled IPV6 (I used about:config), now it works fine. I think the repos problem is because of IPV6 - I usually have trouble with IPV6. I tried disabling IPV6 with the following (How To Disable ipv6 on SuSE Linux | Linux Poison)
I have an old FC2 box running Squid version 2.5. It has been running since 2003 so I am in the process of replacing it. I have a new machine with FC11, iptables, and Squid 3.0 installed.
On the old machine I use iptables to intercept Port 80 traffic and send it to Squid. By default I block all internet access and allow only sites that are in an Allowed_Sites.txt file. Within Squid I also have statements to allow certain users to bypass Squid based on their IP address.
I have set up the same thing on the new box. I have iptables intercepting the Port 80 traffic and sending it to Squid. That is working because if I remove the redirect statement from iptables all internet access is blocked.
The problem I am having is that Squid is not blocking any websites. It acts like the ACL is set to http_access allow all. I have worked on this for several hours and am stumped.
Problem: Using ubuntu 9.04 64 bit, attempted to install wireless card to desktop. Wasn't able to get wireless to work, now LAN isnt working.
I am unable to use the internet from the desktop (mozilla, update, ping, etc) BUT the strange thing is that I can NX nomachine into my desktop.
This boggles my mind, I can get in via the Nx but am unable to get out. So I know my lan card is working.
Question: I must have changed a setting when I was goofing around with the wireless install (via network, network tools). Is there a way to 'flash' my network back to fresh install? In other words, how do I restore it to its previous unconfigured setting.
I have installed UBUNTU 9.04 as dual boot with XP. But I can't access internet through it because (I assume) UBUNTU has no driver for my USB ADSL Modem(PROLINK H9601).
I have surfed the web and yet got no relief. I even wrote to the Prolink vender and they to confirmed that they yet don't have any drivers for ubuntu.
I have a dual boot in windows 7 and ubuntu. WiFi came with windows 7 but doesn't work at all in ubuntu.There are no drivers in my hardware drivers. I use one of those laptops that came with a built in atheros wireless adapter.
Note: Not upgraded yet, still using Ubuntu Lucid Lynx.Recently I've had a strange problem with my internet connection. When downloading something I am unable to use the internet with other net clients. An example, this morning I was downloading a very large set of backup files from an online server where I store backups. The files totalled 1.5 GB and I was downloading them using a SFTP client called FileZilla - during the download I was UNABLE to access the internet using Firefox, pages did not load at all - NOT slowly, but NOT at all, the "can't find the server" message was displayed by Firefox.LikewiseThunderbird was not able to check/download email. Confirmation that no internet access (other than FileZilla) was possible was shown by trying to 'ping google.com', the response "ping: unknown host google.com". During all this FileZilla was downloading very happily and quickly and as soon as the downloads finished everything worked as normal.
The problem is not limited to FileZilla, when downloading a file with Firefox the same problem occurred. It is as if when downloading something all other net connections are put on hold including DNS lookups. In the past my internet connection might slow down as a result of downloading but I'd still be able to access the web and email just slower as a result of the download. This problem has only started happening in the last week or thereabouts.
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
I just installed Ubuntu 10.10 today on my laptop (I installed it alongside Windows 7).
My problem is that I'm unable to access the internet; actually, I'm unable to access any wireless connection at all.
I'm using a Linksys Wireless-G Notebook Adapter (2.4 GHz) in my laptop.
From what I've read, normally, many wireless cards are detected by Ubuntu automatically when you install it. However, this did not happen with my card.
...So, I'm not really sure what to do in order to gain access to the internet.
I've got VPN setup and working on my server. I can VPN into the server and access my local network from anywhere. It uses pptpd for it. My problem is that I can't access the internet once I'm connected to my VPN. Is it possible to allow internet access through VPN?I mainly would just like to be able to connect, access my local network, and still browse the internet. Is there anything specific I need to change?
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.
I can access dirac.org from inside my network; I can't access it from outside my home network. Apache is running on a Ubuntu box named "satan": 192.168.0.2 and I'm testing it from a MS Windows machine named "lucifer": 192.168.0.3. My ISP is optimum online, which does not filter port 80.
0. router The router is a Netgear WNDR3700. All computers on my LAN receive their IP addresses via DHCP, but I've reserved all the IP addresses, so they are essentially static (satan is always 192.168.0.2, lucifer is always 192.168.0.3, etc). The router is set up to pass packets destined for port 80 to satan (192.168.0.2), which is where Apache runs.
1. tcpdump Using tcpdump when accessing dirac.org from within the LAN (this is what works): # tcpdump -i eth0 host ool-18bda2d2.dyn.optonline.net and tcp port 80 ool-18bda2d2.dyn.optonline.net.2826 > satan.www: Flags [S], seq 3934453911, win 65535, options [mss 1460,nop,nop,sackOK], length 0