Networking :: How To Stop Internet On Weekend
Feb 5, 2011
I am using squid in my Linux box. I want to allow my office staff that they may use internet from Monday to Friday.The IP range that they are using is 192.168.1.20. to 192.168.1.50 In /etc/squid/squid.conf file under acl tag
Code:
acl weekend time A S 00:00-23:59
acl myoffice src 192.168.1.20 192.168.1.50/24
http_access deny myoffice
is it correct or I have to add some things more to stop internet access only on Saturday and Sunday.
View 1 Replies
ADVERTISEMENT
Feb 5, 2011
I am using squid in my Linux box. I want to allow my office staff that they may use internet from Monday to Friday.The IP range that they are using is 192.168.1.20. to 192.168.1.50n /etc/squid/squid.conf file under acl tagPHP Code:
acl weekend time A S 00:00-23:59
acl myoffice src 192.168.1.20 192.168.1.50/24
http_access deny myoffice
[code]....
View 1 Replies
View Related
Sep 1, 2010
I am trying to connect my desktop to my laptop over a non-internet connected LAN, but when i enable the LAN connection on my desktop (the one with the wireless) its internet stops working.
it is a very similar problem to this except that i am using ubuntu for the machine with the two connections.
right now i have my wireless on the 192.168.1.* address space, while the LAN is to be on 192.168.5.*
note: my goal is not to share internet with my laptop, just be able to connect to it and the internet at the same time.
desktop: ubuntu 9.10 , wireless and LAN
laptop: windows xp, LAN only
View 9 Replies
View Related
Aug 24, 2010
I have a bit of a "unique" situation here. I have myself plugged into two networks - since we run two networks here at work (long story, we merged and never combined them due to two different companies) and want to block ALL internet access off eth1, and only have it off eth0. I only want traffic from 192.168.67.1-192.168.67.255 allowed on eth1, but everything allowed on eth0. Or is there a way for the internet/applications to be on eth0 instead of eth1? Would I use iptables or something?
View 4 Replies
View Related
Feb 12, 2010
Useing gnome network manger. I thught that is DNS resolve problem, and wrote in linksys router the same DNS as 3g huaweii modem use. Steel the some result. NO INTERNET. Change for static ip in router and try use the same gatway , but steell can't use connected at the same time to internet with 3g and local router.
Only one devace at the same time, Router have no any acces to internat. SO why 3g internet stoping working after connecting router to LAN ports? Has it some thing to do with subnet or ip range and routing table?
View 1 Replies
View Related
Jul 5, 2011
Just read through some cron manuals. (man -k cron).Didnt understood that much though.I'm a gamer and loosing control over time at nights.
So what i want is that my computer shuts down itself at latest 1:30 am. Do i need to set up the command for each day (monday, tuesday.. and so on) or is there an option simliar to my 'example' below?
€dit: Both examples should do the trick.
Code:
# m h dom mon dow command
30 1 * * 1,2,3,4,5 shutdown -h +5 Get some sleep dude!
30 1 * * 1-5 shutdown -h +5 Get some sleep dude!
Where as 1 to 5 would be all weekdays, but not saturday or sunday morning at 1:30am.If i can shorten it to 1 line instead of 7 lines (one per day of week) that would be great.
View 14 Replies
View Related
Jan 5, 2009
I have one linux server act as gateway which is run on fedora platform. The problem occured recently when it keeps on shutting down itself during the weekend.. I have no idea what caused this autoshutdown. For your info, the server is NOT scheduled to auto-shutdown mode.
View 2 Replies
View Related
Dec 26, 2010
I have a list of about 425 servers that are mostly redundant. I need to weed out the duplicate names so that I have a count of only the unique server hostnames. What is a good command to do this?
View 3 Replies
View Related
May 10, 2010
I walked into work this morning and had a message from the system that my root drive had very little space. I traced it down to my message.1 file and kern.log.1 file. Together, they were over 2 GB.I am able to browse the file shares.
View 1 Replies
View Related
Dec 13, 2010
I have installed on friday a new distro on my computer, ubuntu 10.04 lts on my 1GB ram and 3Ghz computer. It has dual booting system. Everything worked fine, i have even been using the xwindows and althought i must say that it felt a bit slow in time reaction to my typing still good enough. I left the computer running with no programs, just idle and now my computers screen is dead. I can not see anything.
I restarted the computer and in normal mode it goes black.I started in recovery mode and i manage to get to a console where I type startx and i see the next error.So I had a fresh install, i worked with the xserver (so i do not think is a driver problem) fine until i left the computer without running anything and the xserver crashed.
View 4 Replies
View Related
May 21, 2010
I'm running puppy linux and my wireless works for about 10 minutes before crapping out. Then I tried going thru the internet wizard again and it won't detect my wireless connection. All my other machines are using this connection at the same time with no problem. The situation is temporarily resolved when i reboot.
View 4 Replies
View Related
Jul 27, 2011
my wireless will simply stop working after each new webpage loads. Whats strange is that it will not disconnect me, and the wireless icon in the top right will continue to show that I am connected to the internet. I am currently tethered to my phone and the internet is working fine. Once If I switch to my regular wireless internet and disonnect and reconnect to my home router then the webpage will load fine only once then after that it will not work again until I disconncet and reconnect again.
This is not a problem for anyone else in my house who all use macs (needless to say they are all very smug about this). Also when I connect to my schools wireless internet there is not a problem. Also restarting my modem and router at home does nothing to solve the problem. Like I said before this just started up about 3 days ago and has baffled me since.
[Code]......
View 3 Replies
View Related
Aug 22, 2010
i'm using slackware 13.1.how can i stop programs connected to internet?or how can i control those kind of programs? allow which can connect to internet and/or forbid them...
View 7 Replies
View Related
May 20, 2010
how do i stop a chosen app from accessing the internet ??
View 8 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
Feb 1, 2010
On this box I have Two seperate Ubuntu installations. Recently in both I seem to be having the same problem. I initially can connect to the internet as per normal and use any internet application. But after a period of time, sometimes just minutes, sometimes hours, even though the icon says connected, I cant update pages or send emails etc because there is no actual connection. My Physical connection is good I know - My Ubuntu laptop and Windows gamming PC connect fine during this period. So
Does this suggest an intermittent hardware fault or is there some thing in Ubuntu I can check to make sure that it is setup correctly and nothing has been corrupted? I am a lay PC person - I dont really want to be command prompting - Plug & Play and Point & Click is my limit.
View 2 Replies
View Related
Oct 21, 2010
I tried to install Xubuntu 10.10 Maverick as dual boot on my laptop. However when xubuntu is on, I can't find a way to connect to internet. When I try the 2 arrows on the up-right corner the option for wireless is deemed. I tried offline/online, that did not work either. when I click the firefox It says you are not connected.
View 1 Replies
View Related
May 1, 2011
I seem to have is trying to get the internet to work. I can go to ..... ect but when I try to run playonlinux it says you do not seem to be connected to the internet, please post if you have anything useful, as I said I am very new to linux so be as detailed as possible.
View 4 Replies
View Related
May 29, 2010
Is there a way to stop net access if a vpn is disconnected? I will be using a vpn for all my internet access on a specific machine, but if the connection is dropped, I don't want that box to continue to have access to the net until the vpn is re-established.
View 2 Replies
View Related
Mar 2, 2010
I blocked several ports to stop HOTSPOT-Shield. but it have a lot of ip address and ports. stop Hotspot shield on my LAN.
View 3 Replies
View Related
Dec 9, 2010
I'm wondering if I can use netcat to listen to a UDP port and display ALL incoming packets, no matter where they're from. If I just do 'nc -u -l 1234' then netcat will listen for incoming packets and connect() to the source address of the first one it sees (I can see this with strace). Is there any (standard) way to stop the connect() call? I can make a hack to block connect() with a function of my own, but that'd be ugly
View 6 Replies
View Related
Jun 29, 2009
after updating my machine, my ppp connection stops working. It dial ok, but fail when call the post scripts. Here is the log for the command
Code:
ipup ppp0:
Code:
Jun 29 16:50:42 ricardoalonso ifup-ppp: pppd started for ppp0 on /dev/ttyUSB0 at 460800
Jun 29 16:50:42 ricardoalonso pppd[4516]: Warning: can't open options file /root/.ppprc: Permission denied
[Code]....
View 4 Replies
View Related
Nov 30, 2009
I am new in configuring named.I want to set my firewall (Fedora 11) as a name server. The local domain is a Windows domain. I'd like internal users translate domain name into IP on this server when they go to the internet. After reading some posts on the web, I set up named as below. It seems the named does the job but with some problems.
1) When I start the server, I couldn't find the named process even if the file "named" is in /etc/init.d. I can browse Internet on the server with domain name (DNS works locally). But internal users couldn't get the domain name translated. If I shutdown the server at this stage, it will shutdown within 1 minute.
2) If I run "service named start" after the server boot up, I see process "named" and named work okay. Both internal user and local host can browse Internet with domain name. However, any command starting with "service named" has no response after this, such as "service named status" or "service named stop". I can see it shows "stopping named" and this last forever. I have to kill the process then restart named server so that named may run again.
3) If I shutdown the server now, it will take 4-5 minute instead of 1 minute in 1). The shutdown stuck at "shutdown named" for 4 minutes. Even if I kill process named before the shutdown, it will take 4-5 minutes.
It took me a week on this issue. I appreciate if you could take a look my configure files and guide me through this.
View 14 Replies
View Related
Mar 23, 2010
How can I stop my wifi roaming when I don't want it to? I connect to the internet through one of a number of hotspots in my area, all with the same name. Frequently, sometimes several times an hour, my machine will spontaneously switch to a much weaker hotspot than the one I normally use. This causes an enormous amount of disruption, with today's disruption really taking the biscuit: I was in the middle of an international VOIP conversation with a potential employer.
I can't remember whether things were better when I was using wicd instead of network manager, but wicd had a huge hit on my system resources (2% or more of CPU), so it's not a great solution. In the KDE interface to Network Manager you can specify which ESSID to connect to, but these settings are ignored.
View 3 Replies
View Related
Jan 15, 2011
I just installed Ubuntu 10.10. Everything works fine, except wireless. Wireless works fine for a while (I am right now using it) but then it loses all networks and I have to shutdown and then start Ubuntu again to get wireless network again.
I have MSI laptop with Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
View 4 Replies
View Related
Feb 9, 2011
I have installed squid 2.7 in my red hat Linux box.I need some guidance regarding to start and stop squid service. Normally when squid configuration file is n /etc/squid/squid.conf and we want to start the service we use # service squid startand to stop the service we use# service squid stopNow squid is inCode:# /usr/local/squid/etc/squid.confhere the default # service squid start and # service squid stop does not work.
View 6 Replies
View Related
Jul 18, 2010
This should not be this difficult. I have a plain install of Ubuntu 10.04 64 bit with a wired network card. It picks up a private IP address from my router. It has an app called NetworkManager Applet 0.8 in the notification area of the panel. If I right click on this app and select "Disconnect" it does. ifconfig shows that the IP address is gone. I can then right click on the app again and "Auto eht0 and I am connected again and ifconfig shows the IP address restored. So far, so good. I was testing a crossover cable to see how fast I could transfer files to/from my server - both machines have gigabit cards but my switch is only 100 Mb.
I unplugged the PC from the router, hooked up the crossover cable to the server and found that I had no connectivity - the IP address was gone. Not wanting to mess with hard configuring IP addresses for the moment I connected the PC back to the router. When I unplugged the cable the app showed the networking disconnected icon. I tried right clicking on the app and unchecking [ ] Enable Networking then rechecking it. This works on my netbook running Ubuntu 9.04. No luck on 10.04 (and I had not tried the Auto eht0 as described above - did not discover that until later). So then I tried to fix it from the command line.
ken@taylor12:~$ sudo /etc/init.d/networking start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service networking start
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the start(8) utility, e.g.
start networking
networking stop/waiting.
So I then tried
ken@taylor12:~$ sudo service networking start
networking stop/waiting
but still no connectivity. A reboot got things back in order.
Then I did a little more testing.
ken@taylor12:~$ sudo /etc/init.d/networking stop
* Deconfiguring network interfaces...
Ignoring unknown interface eth0=eth0.
and I am still connected.
Editing Connections within the NetworkManager Applet shows "Auto eth0 - last used never" even though I have used it. [Edit] Auto eth0 via the app appears to show information about my wired NIC.
ifconfig shows eht0 as active
ken@taylor12:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:64:e8:18:2c
inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::225:64ff:fee8:182c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2234 errors:0 dropped:0 overruns:0 frame:0
TX packets:2407 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
bytes:1824427 (1.8 MB) TX bytes:404086 (404.0 KB)
Interrupt:17
View 2 Replies
View Related
Feb 19, 2010
I'm using the linksys wmp300n with ndiswrapper to connect to a belkin wireless router with a static ip (192.168.2.3). The rest of the PCs in the house have .2, .4, and .5 only running windows XP and 7. This one won't stay connected during large file transfers within the network or over the internet in Ubuntu. I made a script to restart ndiswrapper but I have to do it every 2 or 3 min during a file transfer. I can't play online games at all. No ssh sessions for more than a few min... so on and so forth. None of these issues happen in Windows 7 but when it was first installed it had to do something with dhcp before it would stay connected. Windows wouldn't tell me what was going on though. code...
View 2 Replies
View Related
Apr 1, 2010
Xubuntu 9.10 on a DELL Inspiron 1150.I have a problem with intermittent dropping of my wireless connection ( see Belkin 7010 thread).Once dropped, the wireless will NOT reconnect (It just sits there saying "connecting" but never does) Same happens if I manually disconnect - I can never re-connect. On rebooting it will reconnect fine & all is well for sometimes 4 hrs.How can I kill all wireless services & restart them without having to reboot the laptop?
View 3 Replies
View Related
Apr 5, 2010
Ubuntu 9.10
Acer 7736
This machine has a combined key/indicator light to turn the wireless networking on/off The change of state of the switch is detected by software with the switch off iwconfig shows
[Code]...
View 2 Replies
View Related