Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
34 Pages V   1 2 3 > » 

Termina
Posted on: Jun 4 2007, 04:41 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


I've recently set up a transparent squid proxy for an apartment building. So far, everything is working pretty well.

Unfortantely, I'm having trouble forcing squid to cache exe files (We only have a 768/768 connection, so even a 5MB file can slow everything down to a crawl).

After some googling, I found what appeared to be a solution. However, after downloading a file from filehippo.com on one machine (spybotsd14.exe) any other machine I download it on doesn't seem to be grabbing the file from squid.

Here are some relevant log/config lines. Any help would be appreciated.

(Also, is anyone else getting weird formatting errors on these forums when using firefox?)

/etc/squid3/squid.conf
CODE
refresh_pattern -i exe$ 0 50% 999999
refresh_pattern -i zip$ 0 50% 999999
refresh_pattern -i tar\.gz$ 0 50% 999999
refresh_pattern -i tgz$ 0 50% 999999


/home/squid/store.log
CODE
SLRouter:/home/squid# cat store.log | grep spybot
1180987778.957 SWAPOUT 00 000000AD BAA0A7873354B13BB920E84F94B4AC8E  200 1180987774 1180521657        -1 text/plain 56383/56383 GET http://www.safer-networking.org/updates/spybotsd.ini
1180987792.023 SWAPOUT 00 000000B4 A8B25EC315AC07C2BF774568C2093410  200 1180987790 1144917306        -1 application/zip 23453/23453 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/lang.english.zip
1180987838.974 SWAPOUT 00 000000BB 6FEFEE18A496C3C4D81155DD3ACC412F  200 1180987793 1167388711        -1 application/zip 521260/521260 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/clsid.zip
1180987844.507 SWAPOUT 00 000000BF A794968593E40EA0AE4A89BCFF10F762  200 1180987844 1144917373        -1 application/zip 393/393 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/skins.main.zip
1180987877.100 SWAPOUT 00 000000C0 6CF446B4985E4C77AEDD0100C02E8F92  200 1180987846 1159521503        -1 application/zip 362599/362599 GET http://ftp.rz.tu-bs.de/pub/mirror/spybot.info/sbsdupdates/startup.zip
1180991923.551 RELEASE -1 FFFFFFFF 35D0540C0857D571CA7D9E1FADF1ABF5  200 1180991923        -1        -1 text/html 7663/7663 GET http://filehippo.com/download_spybot_search_destroy/
1180991923.732 SWAPOUT 00 000000D3 7E38C901CCEF87B9870E195F3025E033  200 1180991923 1172234205 1181855923 image/png 7238/7238 GET http://filehippo.com/img/ex/139t__spybot1.png
1180991923.806 SWAPOUT 00 0000010C 29398A4FEA3452CB03C0B550B5F6A3FB  200 1180991923 1172234200 1181855923 image/png 1424/1424 GET http://filehippo.com/img/ex/10__spybot.png
1180991923.884 SWAPOUT 00 000001E9 F591A8A0EC6FB477E032F0970DB5B91E  200 1180991923 1172234206 1181855923 image/png 6669/6669 GET http://filehippo.com/img/ex/141t__spybot4.png
1180991923.997 SWAPOUT 00 000002D1 DEE58328EE6960AB94B7DD69A69224F4  200 1180991924 1172234206 1181855924 image/png 7784/7784 GET http://filehippo.com/img/ex/142t__spybot5.png
1180992009.447 SWAPOUT 00 000002F1 603ED5C0A2735EE1741EA40CC5F9A0B7  200 1180991944 1141992607        -1 application/octet-stream 5037072/5037072 GET http://fs4.filehippo.com/3536/6679773c457747b9bf06d1ea17150c0f/spybotsd14.exe
1180992044.280 RELEASE -1 FFFFFFFF DFABC927D5FFA1CEEB2729ADB5C0C186  200 1180992044        -1        -1 text/html 7663/7663 GET http://filehippo.com/download_spybot_search_destroy/
1180992168.343 RELEASE 00 000003F6 298F358FA3C2C74AF4344048E5146DAC  200 1180992148 1156535338        -1 application/octet-stream 5037072/1240464 GET http://fs5.filehippo.com/1863/6679773c457747b9bf06d1ea17150c0f/spybotsd14.exe
  Forum: Technical Support · Post Preview: #29562 · Replies: 1 · Views: 8,821

Termina
Posted on: Jun 4 2006, 02:30 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


The new Ubuntu Dapper has the best wireless support, as of yet. (For example, it's one of the only distros that supports Broadcom wireless cards out of the box).
  Forum: Technical Support · Post Preview: #27034 · Replies: 6 · Views: 4,703

Termina
Posted on: Jun 4 2006, 02:29 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


Why are you using LVM partitions?

Have you upgraded your kernel, and then rebooted? Have you created an initrd for yourself?

Please post your menu.lst (grub config).
  Forum: Technical Support · Post Preview: #27033 · Replies: 7 · Views: 5,388

Termina
Posted on: May 28 2006, 04:22 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


QUOTE (DS2K3 @ May 28 2006, 01:37 PM)
X normally wont accept connections from other hosts. On the linux box, issue the command "xhost +" to turn of the restrictions and see if it helps.

D

If you don't have access to the box at that time, do this:

su user
export DISPLAY=":0"
xhost +
  Forum: Technical Support · Post Preview: #26935 · Replies: 3 · Views: 2,801

Termina
Posted on: May 28 2006, 04:18 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


Type 'iwconfig' and show us the output please

You can find the driver for your card on the manufacturers website; just grab one for Windows XP and 'ndiswrapper -i whatever.inf'
  Forum: Technical Support · Post Preview: #26934 · Replies: 7 · Views: 4,043

Termina
Posted on: May 28 2006, 05:37 AM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


QUOTE (DS2K3 @ May 28 2006, 05:04 AM)
IMO, the mutli-user nature of Linux & UNIX in general is possibly the single most important feature in terms of overall system security. There are huge numbers of reasons why virtually no distribution (with the exception of "Linspire") let normal users run as root. My favourite being "rm -R /"

Generally, if you take the time to set your file permissions on file in your home directory, and any shared folders, there is no need to become root unless you are changing configuration around. Even then, if you elarn the shortcuts to becoming root (like using "su -" in a console) you can quickly and easily get root privilege temporarily without losing the layers of secueity and resilience introduced by the multi-user model.

Sorry if my first reply sounded rude - It was merely intended to impart just what a bad idea I think running as root is...

D

What next, we should use passwords and not allow password-less logins with SSH? Blashphemy! wink.gif

I certainly agree with you DS2K3, hopefully my reply re: changing permissions helps.

Also fullur, you can always change httpd.conf (VirtualHosts) so that a directory in your users (non-root!) home directory is what your web page is serving. That way, you don't have to worry about permissions (changing files to nobody or www-data can be annoying, I know smile.gif)
  Forum: Technical Support · Post Preview: #26908 · Replies: 8 · Views: 4,406

Termina
Posted on: May 28 2006, 05:31 AM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


Are you running the command as root? smile.gif

Please 'dmesg | grep sd' and see what comes up (post it here if you're unsure what it means).
  Forum: Technical Support · Post Preview: #26907 · Replies: 3 · Views: 2,973

Termina
Posted on: May 28 2006, 01:18 AM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


To change every folder/file in a particular location, you can do the following:

chmod -R 755 /path/to
chown -R username /path/to
chgrp -R groupname /path/to
  Forum: Technical Support · Post Preview: #26893 · Replies: 8 · Views: 4,406

Termina
Posted on: May 27 2006, 08:52 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


I came across this a while back, havn't tried it, but it's pretty straightforward. Just ignore the gentoo-specific parts.

http://www.howtoforge.com/proftpd_mysql_vi...virtual_hosting
  Forum: Technical Support · Post Preview: #26890 · Replies: 2 · Views: 2,637

Termina
Posted on: May 27 2006, 08:49 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


Good question! xD

This should work:

move all those files into one folder, and try the following:

tar xvzf *
  Forum: Technical Support · Post Preview: #26889 · Replies: 6 · Views: 3,641

Termina
Posted on: May 27 2006, 08:44 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


QUOTE (fullur @ May 27 2006, 12:28 PM)
My apologies. I assumed that on a linux forum my question would be assumed to be about linux. Since it wasn't, allow me to rephrase. Is it possible to configure linux as a single user environment? (And in case you're wondering, yes I caught the sarcasm.)

*laughs* Good one, fullur.

You could always use 'sudo', but if you want to quick and dirty way, just add a user and edit /etc/passwd

Replace the 'uid' to 0.

For example:

Change
will:x:1001:100::/home/will:/bin/bash

To
wil2:x:0:100::/home/will:/bin/bash


Also, single-user mode can be achieved by typing in 'init 1'

Why do you want to do this, though? smile.gif I'm curious.
  Forum: Technical Support · Post Preview: #26888 · Replies: 8 · Views: 4,406

Termina
Posted on: May 27 2006, 08:42 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


QUOTE (mmoor @ May 27 2006, 12:18 PM)
Thanks ds2k3 for your kind words..

Yes I looked into a couple, suse 10.1, but that act funny.. does constant open my CD-rom door, and just prints gibrisch on my windows 2000 adv server's printer.
looked into centOS, Debian, slackware, freeBSD.. but since im a noob and come from windows. I was kinda happy as i saw this nice kde from fedora. On Debian i just been in text console after install.. got shoked to death nerlay smile.gif

I just hate to ask over and over on different forums silly stupid newbie questions, make me fill complet silly.

But finally i got that apache.1.3.36 + mod_ssl + mysql4.1.19 + php 4.4.2 to work tongue.gif
But dont ask me how, im complet clueless. unsure.gif

I gonna install gentoo on another box and fumble around with this, see if i like it, never looked at this.

If you're scared off by Debian, Gentoo will be even worse.

I really would suggest getting debian; if you want to set up a server, you'll have to learn how to use the command line anyways.
  Forum: Technical Support · Post Preview: #26887 · Replies: 8 · Views: 4,412

Termina
Posted on: May 27 2006, 08:39 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


What distros have you tried? I'm not familar with many nowadays that use LILO instead of GRUB.
  Forum: Technical Support · Post Preview: #26886 · Replies: 1 · Views: 2,261

Termina
Posted on: May 27 2006, 08:38 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


Please see my above post, and answer my quetions.

What do you see when you execute 'ls /usr/src/linux'

What distro are you using? Is this a wireless card? Can you just use your ethernet card to download packages?
  Forum: Technical Support · Post Preview: #26885 · Replies: 3 · Views: 3,030

Termina
Posted on: May 27 2006, 08:36 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


After installing the SATA drive, it will probably show up as /dev/sda (or /dev/sdc).

Then you can use 'cfdisk' to partition the drive, and 'mkfs.ext3 /dev/sda1' to format it.
  Forum: Technical Support · Post Preview: #26884 · Replies: 3 · Views: 2,973

Termina
Posted on: May 27 2006, 08:34 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


You don't have to restart.

Try 'mount /mnt/windows', or whatever you specified in /etc/fstab
  Forum: Technical Support · Post Preview: #26883 · Replies: 7 · Views: 4,363

Termina
Posted on: May 27 2006, 08:34 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


/etc/profile has a 'umask' line. Changing this will decide what permissions a newly created file has.

777 - umask = permission

So a umask of 000 = 777, 022 = 755, etc.

Keep in mind, however, that if a user cannot 'execute' a directory, nor read it, they cannot access any file in the directory.

In your case, you'd want umask 007 (for these users, atleast. You can add this umask line to their .bash_profile)

If you have several users that need to 'share' a folder, just add them to a group (man groupadd) and set the group of the folder.

chgrp -R groupname foldername

Best of luck
  Forum: Technical Support · Post Preview: #26882 · Replies: 1 · Views: 2,144

Termina
Posted on: May 27 2006, 08:29 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


QUOTE
If I don't have a WEP/WPA key, do I still have to add that line? I don't have one, so I didn't add that line. Nevertheless, iwconfig just won't let up. Regardless of what I do, it doesn't seem to accept my input, with or without a "committ" at the end. It's really frustrating.


Is there any reason you don't use a WEP/WPA key? o_O You should try setting one, just to test this out (and see if it works).

Set a key in your router, and do the above commands.

QUOTE
I don't know if my card is built into the kernel, but it may be. I use PCLinuxOS, and when I go to hardware configuration, the module for my card is listed as "BCM43XX." That sounds like a positive thing, because before I upgraded the kernel, it was listed as "unknown."


Without ndiswrapper, a module is loaded that shows your drive under iwconfig? If so, modprobe -r ndiswrapper, and load the bcm43xx module.

Best of luck.
  Forum: Technical Support · Post Preview: #26881 · Replies: 10 · Views: 5,567

Termina
Posted on: May 26 2006, 12:58 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


If you select one of the non-customized builds, you can still go back to that screen later and select additional packages, if memory serves. smile.gif
  Forum: Hardware Support · Post Preview: #26845 · Replies: 3 · Views: 4,951

Termina
Posted on: May 26 2006, 12:41 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


There's no need to commend out 'Windows'

I'm sorry, 'naff'? I'm not familar with this term. Do you mean that the quality of the sound is poor, or that no sound plays?

Window's cannot see the linux partition by default because it does not understand ext3 and the like.

Using this program will help you. http://e2fsprogs.sourceforge.net/ext2.html

What resolutions would you like to add? It's fairly easy to do so; run gedit as root (sudo su) and exit /etc/X11/xorg.conf (find the resolutions section, and add some)

Linux can no doubt mount the NTFS drive; you'll just have to do it manually (or add it to fstab so it does it on boot).

mkdir /media/windows
mount /dev/hd_# /media/windows

To install/uninstall applications, run 'synaptic' under 'System' - 'Administration'
  Forum: Hardware Support · Post Preview: #26844 · Replies: 1 · Views: 4,572

Termina
Posted on: May 26 2006, 12:37 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


If you are unable to connect to the internet from the linux machine, that's probably the problem. wink.gif

Please try to 'ping yahoo.com' and see what that shows up.

Ensure that /etc/resolv.conf and ifconfig show the correct information (you may want to set a static IP; I'm unfamilar with your distro, so you'll have to check out any docs they gave you).

Is eth0 even up? Do you have any iptables rules that may be interfering?
  Forum: Technical Support · Post Preview: #26843 · Replies: 1 · Views: 2,111

Termina
Posted on: May 26 2006, 12:31 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


Since we have no idea what the filename is, it's hard to tell you if this is unusual or not.

Omitting information like this is not helpful, and it's doubtful that you giving us the filenames could hurt.

A package you installed might be expecting a user you no longer have on your system.
  Forum: Technical Support · Post Preview: #26841 · Replies: 2 · Views: 2,514

Termina
Posted on: May 26 2006, 12:27 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


You need to recompile the module that apache is bitching about.

./configure --help in the source directory, and look for DEAPI options.
  Forum: Technical Support · Post Preview: #26840 · Replies: 5 · Views: 3,257

Termina
Posted on: May 26 2006, 12:26 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


Have you tried just pressing 'enter' at the prompt?

What linux kernel version are you using, and what distro?

Have you installed the kernel source/headers for your distro?

Try 'ls /usr/src/linux' and tell us if anything is in there (should be a sym link).
  Forum: Technical Support · Post Preview: #26839 · Replies: 3 · Views: 3,030

Termina
Posted on: May 25 2006, 05:54 PM


RMS is my Hero
******

Group: Support Specialist
Posts: 862
Joined: 18-February 04
From: Wisconsin
Member No.: 2,404


I see. o_O

Clear
/var/log/mail.log
/var/log/mail.info
(these might be slightly diffrent depending on your distro)

Then restart your daemons (courier if you use it, postfix, etc.)

Please upload those files, and post links. smile.gif (there shouldn't be any sensitive info in those)
  Forum: Technical Support · Post Preview: #26827 · Replies: 6 · Views: 3,767

34 Pages V   1 2 3 > » 

New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 23rd October 2017 - 02:03 PM