Red Hat / Fedora :: Have Finished Reconfiguring My 1st PC Centos 5.5 With Squid And Dansguarian Works Fine The Configuration Is Basic?
Feb 8, 2011
I have finished reconfiguring my 1st PC Centos 5.5 with Squid and Dansguarian. Works fine the configuration is basic.lets name it to 1st PCeth0 - modem ip (public)eth1 - 172.16.1.1 (LAN)Then I've decided to change and add another Centos 5.5 for Firewall Service that is directly connected to the modem and then shares internet connection and some ports to 1st PC.
lets name it to 2nd PC, it also has two NICSeth0 - modem ip (public)eth1 - 10.0.0.1 (ip to connect to the 1st pc with squid services)so I changed the ip of the 1st PC with theseeth0 - 10.0.0.2eth1 - 172.16.1.1 (LAN)and connects the eth0 (10.0.0.2) of the 1st PC to the eth2 (10.0.0.1) of the 2nd PCthen I've tried browsing on the network but it does not work...is there a simple iptables command for the 1st PC and 2nd PC?ere are the iptables script and lists of my 1st and 2nd PC 2nd PC (firewall to be)
I have finished reconfiguring my 1st PC Centos 5.5 with Squid and Dansguarian. Works fine the configuration is basic.lets name it to 1st PCeth0 - modem ip (public)eth1 - 172.16.1.1 (LAN)Then I've decided to change and add another Centos 5.5 for Firewall Service that is directly connected to the modem and then shares internet connection and some ports to 1st PC.
lets name it to 2nd PC, it also has two NICSeth0 - modem ip (public)eth1 - 10.0.0.1 (ip to connect to the 1st pc with squid services)so I changed the ip of the 1st PC with theseeth0 - 10.0.0.2eth1 - 172.16.1.1 (LAN)and connects the eth0 (10.0.0.2) of the 1st PC to the eth2 (10.0.0.1) of the 2nd PCthen I've tried browsing on the network but it does not work...is there a simple iptables command for the 1st PC and 2nd PC?
2nd PC (firewall to be) #vi /home/user1/fw.sh #!/bin/sh
I am using debian squeeze. I haven't changed much and I am a newb at this sorry. I can use the SFTP, but I can't use the FTP under any account. I can't find a conf file or anything for this.
I would like to ask some help and tutorial for setting up and how to configure squid proxy server in my (Home PC Server). I am a newbie in Linux Centos. I already installed in my system the CentOS 5.5 . Now, I want to configure it as my internet server, all of my 4 system running in Windows including the laptop I want to connect through my CentOS pc with username authentication. I assign all IP address by static. see tthe attachement in my set up. [url] I just want to know what I need to change and add in my squid config file. And how can I configure properly my CentOS with 2 LAN card as internet server.
I have more than a dozen servers running CentOS (mostly supermicro servers) everytime i do mkfs.ext3 or mkfs.ext4, it always hangs the server (nothing is responding, not even the terminal) can't even do Ctrl+C to kill it. but the funny thing is, if i leave it on for hours, it'll finish eventually.
this puzzles me, i've tried so many different SATA drives and different servers, different kernels, different CentOS. for example purposes, my CentOS 5.3 runs 2.6.18-92.1.13.el5 kernel. i also have 5.4 and 5.5. mkfs.ext3 works fine on SAS, but always hangs on SATA. here's where it usually hangs Writing inode tables: 2126/7453
New build to F12. Sound was fine in F11. Now, massive distortion. I have tried every possible permutation of settings. With the main volume control in the top taskbar, there are two positions of level setting where the audio drops to a normal level and sounds OK but any application changing the level or starting to use the Pulseaudio changes the level and its loud and massively distorted again.
In the Pulseaudio manager->sink->alsaoutput.pci-0000-00-11.5.analog-stereo -> properties-> show volume meter, the audio is always maxed out in level. I have tried everything, its unworkable right now. Its possible to start alsamixer from terminal and adjust settings for good audio but any future change reverts to distortion. All changes in Pulseaudio Dev mgr or vol control etc change the audio as they should but do not affect the problem.
I have migrated over to Fedora 11and system works fine *except* I cannot install *any* packages from an RPMhere is the exact error :The name org.freedesktop.PackageKit was not provided by any .service files
I log on and Network Manager shows no wireless adapter.
I go to System > Administration > Network:
There are two entries in the Devices tab: Wireless and Ethernet
As soon as I double click the Wireless device and the configuration pops up, the device starts working (no changes to the settings are made)
I have the following set to ON: - Controlled by Network Manager - Activate device when computer starts - Allow all users to enable and disable this device
today i encountered centos 5.5 final server with a squid configured to block facebook from 9am to 4pm. i have tried to follow up the steps but am stack where time restriction is done and there is no proxy configuration done in the browser. the ip address of the server is being used as the default gateway.
Running Squid version 2.6.STABLE21 on CentOS5 release 5.5 (Final) in non transparent mode. All the browsers are configured to connect to the squid on the said port. And that is working fine in conjunction with dansguardian.I want to integrate ncsa_auth basic authentication mechanism into squid. And the error is what is mentioned in the thread title. Here is cache.out file contents:
Code:
2011/01/12 18:16:14| Starting Squid Cache version 2.6.STABLE21 for i686-redhat-linux-gnu... 2011/01/12 18:16:14| Process ID 29318 2011/01/12 18:16:14| With 1024 file descriptors available 2011/01/12 18:16:14| Using epoll for the IO loop 2011/01/12 18:16:14| DNS Socket created at 0.0.0.0, port 52054, FD 6
I have a Centos 5.5 and we make remote connections with Xfree from Windows to the Linux Server. We start the Xsession with the option -clipboard, but it's not working. Which settings do I have to change in the server configuration that the clipboard works in the Xsession?
Basically i set up a webserver using this tutorial but installed ubuntu 10.10 [URL]
im using charter cable and it has that ubee router. when i tried to set up the static ip the closest thing i saw was an option called static ip lease in which input my servers local address and mac address and checked enable. then i applied dmz to my servers local ip. after that i typed in my public ip and to my excitement it worked. so i began creating the website. i dont know if all that is relevant but just in case i didnt want to leave anything out. this is my first time with linux and servers and ive only been at it for about 5 days. anyways i made the website and everything was going good then i needed to reboot the server so i did. after reboot i logged into the server then went back to the other room where i worked on the server using putty from a pc and flashfxp and tried to navigate to the website in firefox. it didnt work. if i try to go to the website address from a computer on my network i get a problem loading page error from firefox and if im on a different network it shows my router page to login and configure. i dont understand how it was working then after reboot it all of a sudden doesnt.
o also i installed gnump3 today before reboot if that is important
I just installed 11.2 kde desktop everything works fine except no sound when I play ..... and watch movie online worked with my audio and video files in my computer only
This has been bugging me for quite a long time. I need to have a pptp connection to my university. I have tried to locate the error, but this has been a real trouble.
A little bit of history: My girlfriend had a laptop with M$ vista on it with a working PPTP connection. I had a laptop with Ubuntu, with which I couldn't get the PPTP working.
When my laptop crashed, I bought a new one on which I run a dual boot XP SP3 and Ubuntu. I also own a desktop (Dual M$ Win 7 / Ubuntu standard Karmic) and my girfriend also upgraded to Win 7.
Currently, the XP version is the only one on which I can get a connection. Both Ubuntu and the Win 7's give me a GRE proc 47 not received error. I know our router (a DAVOLINK DV2020) is notorious for not sending through GRE proc 47, but this either shouldn't be the case or it shouldn't matter, since I can make a perfect connection through the XP OS.
This is quite a handicap, since we both study at the university for which we require working VPN PPTP connections.
On my Acer netbook (AOA-150-1635) the wireless works fine with WinXP, Ubuntu, and used to work with Suse 11.1. I replaced the Suse 11.1 with a clean network install of Suse 11.2. I couldn't get the wireless to work and did another network install using the wireless. When the install was completed I could not get the wireless to work with Suse 11.2. When I run the "collectNWData.sh" it shows--
!!! CND0120E: Network card wlan0 has no IP address wlan0 Interface doesn't support scanning : Network is down
[code].....
I looked up error CD0120E and changed the network devices setup to "traditional". The wireless "scan" picked up the routers and I added the encryption keys. Still no joy. I ran "collectNWData.sh" again and it said it is better to use the Network Manager.
!!! CND0180I: The system can't ping external IP address 195.135.220.3 !!! CND0150E: There might be a problem with the default gateway definition 10.1.1.1 on interface eth0
[code]....
Going back to Yast, Network Devices, I set Network Manager. The result is that it is back to the beginning with "collectNWData.sh" giving the original error.
I am unable to connect to a WEP-protected network. the Network manager log shows either a DHCP timeout, or a failure to associate. (attached below).Changing to WPA is not an option, as the network is not controlled by me. This is with the rt61pci driver for a Ralink 2500 series chipset.(Rosewill RNX-G300EX card)Manually forcing an IP does not result in a connection either. This is with the latest OpenSuSE 11.4, all patches applied. Router is a D-Link DIR-613, and I know the passphrase I'm using is correct because it connects both on my Android (what else?) phone, and my lappy when I boot XP.
I've got 9.04 and 9.10 both installed on the same machine. The /home directory is on a separate partition, so both OSes use the same /home.I can't get Compiz to work at all in 9.10, even though it's been perfectly fine in 9.04. Is there a backport of some sort that i should install?The fixes I've found all point to editing the xorg.conf file, but of course, Karmic doesn't have an xorg.conf file.I've tried reinstalling the Compiz files, reinstalled the open-source video drivers, installed/uninstalled fglrx drivers a few times, rebooted dozens of times.
Though I had solved this but I was premature. Here are the details. When I use HDMI to connect to my lcd TV it works fine in Windows7. (I have dual partitions W7/Ubuntu),but when I boot into Ubuntu and use HDMI, nothing happens.
lori@lori-laptop:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
[Code]...
also when I open the Gnome Alsa Mixer, under the HDMI tab, there is just a blank screen. I believe I have the latest Alsa releases.
I have a working LDAP-server (I belive!!) I want my laptops to authenticate against the server, when they logon. That works fine as long as the network is present. But I also want the users to be able to log on, when the network is down. When I go to a terminal (without network) I can su to another LDAP-user.I can login via graphical login-screen with the network attached, but not when it is disconnected.
In a terminal id john gives me information about the user john.
My conf. files looks like this: /etc/ldap.conf host 172.16.0.138:389 ldap_version 3 bind_policy soft
My Windows machine can ping Ubuntu by name, but Ubuntu can only ping the Windows machine by using it's IP address. This was working fine in both directions until I purged Samba. After purging Samba, I couldn't ping in either direction unless I used the IP address. I did some reading and found that Samba provides NetBIOS functionality that allows the machines to resolve host names without a DNS. Since I'm not running a local DNS, I decided to reinstall Samba. Unfortunately, I've not been able to restore it to full working condition. I don't want to use hosts files as all the IP addresses are assigned automatically by DHCP. I want to be able to access the Windows machine by name.
I have Ubuntu 10.10 installed for some time now and I don't boot my Win7 machine in weeks!I love how solid, robust it is... and also how good it looks.Love the features like Ubuntu One (use it a lot!) and the Software Center. I'm 95% converted and I would be 100% if it weren't for 2 issues:
1 - The machine won't shutdown. Rebooting works fine but shutdown it just hangs... Kinda sucks having to press the Power Off button every time...
2 - I'm on a laptop but it doesn't recognize my battery. All I get is a "electric ray" on the panel. Even if I remove AC power it still does the same... No charging information, nothing... I tried
Code: sudo modprobe pmu_battery on the terminal but is says that the module could not be found.
Everything else works terrific (better than Windows!) with this two exceptions...
I have to report that I am unhappy with the idea of taking away Gnome. I use a tablet, thus I use CellWriter. CellWriter works fine on 11.04 in Gnome but not in Unity. Additionally, CellWriter uses a system tray icon, which doesn't exist in Unity. I don't like my destop experience in Unity. It doesn't agree with the way I interact with my computer.We have Ubuntu, Kubuntu, and Xubuntu. I would like to request that we fork a Unity distro and keep a Gnome desktop for users to choose.
I am working in a office where only one internet connection available. I have configured 5 other client machines to use internet through squid proxy server. Now I want to restrict the total data usage/transfer (upload+download) to say 1 GB during a calender month. How can I achieve this setting.
I am working in a office where only one internet connection available. I have configured 5 other client machines to use internet through squid proxy server. Now I want to restrict the total data usage/transfer (upload+download) to say 1 GB during a calender month. How can I achieve this setting.
System:Tri-head, dual-card: GeForce 9500 GT, GeForce 8400 GS Dual-boot: openSUSE 11.4, Ubuntu Natty Driver: nvidia proprietary (260.19.44 in openSUSE, 270.30 in Ubuntu due to kernel version) xorg.conf: same for both Results: All three heads work just fine in Natty; secondary screen fails in openSUSE:
Code: [25.164] (EE) NVIDIA(1): Failed to initialize the NVIDIA GPU at PCI:2:0:0. Please [25.164] (EE) NVIDIA(1): check your system's kernel log for additional error [25.164] (EE) NVIDIA(1): messages and refer to Chapter 8: Common Problems in the [25.164] (EE) NVIDIA(1): README for additional information. [25.164] (EE) NVIDIA(1): Failed to initialize the NVIDIA graphics device! [25.164] (II) UnloadModule: "nvidia" [25.164] (II) UnloadModule: "wfb" [25.164] (II) UnloadModule: "fb"
But nothing is jumping out at me in the output of dmesg. I also don't see any additional system or kernel logs in /var/log. I'll google some more on that front. One other fun fact: nvidia-settings fails to run in openSUSE. Unless I launch it under gdb. Then it starts up and runs as expected. (And the second screen ain't there, as expected.) Here's (what I think are) the relevant items: Xorg.0.log - Pastebin.com dmesg - Pastebin.com xorg.conf - Pastebin.com Additional output available upon request.
Gateway desktop running Ubuntu LL 10.04(64 bit) with Asus/ViXS Combo-210E NTSC/ATSC TV Tuner card: link to card... [URL] Ubuntu lists the card when I do lshw in a terminal but it shows as 'unclaimed'. Is that important? Also what software is neccessary to watch tv? The card works fine in Windows7
am using transimission to download torrents but when it start downloading i just can't browse anymore since my connection slows down, but when i stop downloading from transimission my connection just works fine.
i'm running 10.04 x64, with the latest versions of google chrome, chromium, opera, epiphany, firefox, and swiftfox.
strangely, flashplayer works fine in all of them except swiftfox, where it presents a garbled, unclickable video window (tested in videos).
all my other ff addons and plugins seem to work ok in swiftfox, so i assumed that swiftfox is just reading and using everything in ~/.mozilla, including flash. but perhaps not. anyone have any idea why ff's flashplayer doesn't work in swiftfox?