Author Topic: Networking Help!  (Read 3336 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #30 on: 19 April 2002, 17:36 »
well... isnt this surprising, the master of reality telling VoidMain how to do something... and it working!

i still cant get squid started because it says : "fatal: cant determine fully qualified hostname. Please setup visible_hostname."
and i then set the "visible_hostname" in the squid.conf file, and i still get the same error when trying to start it.
At the console it says "root@server" meaning that the hostname is set to server.
do ya know where the problem may be?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #31 on: 20 April 2002, 05:27 »
"Ahh grasshopper, when you can take the pebble from my hand." (you are probably too young to know what that quote means).

Sounds like it's trying to look up the fully qualified host name for your local IP address and you don't have it set up. You might try giving your inside address a fully qualified host name in /etc/hosts like this:

127.0.0.1 localhost.localdomain localhost
192.168.0.1 proxy.masterofreality.home proxy

If that doesn't work, you should be able to set the visible_hostname in squid.conf to something like:

visible_hostname proxy.masterofreality.home

[ April 19, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

psyjax

  • VIP
  • Member
  • ***
  • Posts: 1,871
  • Kudos: 55
Networking Help!
« Reply #32 on: 20 April 2002, 05:57 »
quote:
Originally posted by VoidMain:
"Ahh grasshopper, when you can take the pebble from my hand." (you are probably too young to know what that quote means).


Surely you jest? The quote comes from an indelible icon in American culture, it is timeless, and rife ith meaning and relevance   :D  

All though I allways wonder "what if Bruce Lee got the part?"

[ April 19, 2002: Message edited by: psyjax ]

Psyjax! I RULEZZZZ!!! HAR HAR HAR

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #33 on: 20 April 2002, 07:31 »
you under-estimate me, i may be 15 years of age, but i now of that saying. I am one with the past, My favorite band is Black Sabbath, my favorite car is a  late 60's to early 70's Hemi-Cuda.Both of which have stopped production. (although the members have made a few "solo" albums since the 80's)
I have seen the movie "the shining" several times. I am kearning the language of old lore, it was made in 1920's, its called Quenta, the elvish language made by tolkien. Fore i may be of youth, but nonetheless i know all too well of the past.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #34 on: 20 April 2002, 07:48 »
i am using lynx from the server now.
I set the host in /etc/hosts and now squid is started. I did those ipchains mentioned earlier, i also have already configured squid properly in the squid.conf file. Now my computers can find the ip address of the website they want to find, but now they cant connect to the site. When my computers on the network try to ping a friend of mine's comp (on the internet) it works fine, but when i tried to ping "www.fuckmicrosoft.com" he couldnt get it.
got any ideas?

[ April 19, 2002: Message edited by: Master of Reality ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #35 on: 20 April 2002, 11:06 »
quote:
Originally posted by psyjax:


Surely you jest? The quote comes from an indelible icon in American culture, it is timeless, and rife ith meaning and relevance    :D  

All though I allways wonder "what if Bruce Lee got the part?"



I haven't seen that movie in 20 years but I still pull that line out every once in a while.
Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #36 on: 20 April 2002, 11:20 »
quote:
Originally posted by Master of Reality:
you under-estimate me, i may be 15 years of age, but i now of that saying. I am one with the past, My favorite band is Black Sabbath, my favorite car is a  late 60's to early 70's Hemi-Cuda.Both of which have stopped production. (although the members have made a few "solo" albums since the 80's)



According to the BS web site they've been fairly active off on on all the way up to this year:
http://www.black-sabbath.com/personnel/lineups.html
I think the first song I learned on my first electric guitar was Smoke on the Water.      Either that or Stairway to Heaven. And I've always been more into Chevy. I had a '68 Camaro, a '76 Camaro and currently a '96 Camaro that I bought new, 'bout time for a new one, but they're stopping production.   :(    Sounds like you probably even have the Elvis sideburns going.    

 
quote:


I have seen the movie "the shining" several times. I am kearning the language of old lore, it was made in 1920's, its called Quenta, the elvish language made by tolkien. Fore i may be of youth, but nonetheless i know all too well of the past.



Uh, that's before my time.  

[ April 20, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #37 on: 20 April 2002, 11:23 »
quote:
Originally posted by Master of Reality:
When my computers on the network try to ping a friend of mine's comp (on the internet) it works fine, but when i tried to ping "www.fuckmicrosoft.com" he couldnt get it.
got any ideas?



Yeah, fuckmicrosoft.com must be filtering port 9. I can't ping it from any machine, probably to keep away the DoS kiddies.  So it sounds like your setup is working properly.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #38 on: 20 April 2002, 16:41 »
quote:
Originally posted by VoidMain:

According to the BS web site they've been fairly active off on on all the way up to this year:
http://www.black-sabbath.com/personnel/lineups.html
I think the first song I learned on my first electric guitar was Smoke on the Water. Either that or Stairway to Heaven. And I've always been more into Chevy. I had a '68 Camaro, a '76 Camaro and currently a '96 Camaro that I bought new, 'bout time for a new one, but they're stopping production. Sounds like you probably even have the Elvis sideburns going
[ April 20, 2002: Message edited by: VoidMain ]


the first song i learned on electric guitar was smoke on the water by Deep Purple , or maybe it was Sweet Dreams by the Eurythmics, i learned both of them the same day.
My band is even gonna play electric funeral.
I know one thing that really would have been cool to go to would have been The Wall Live Show, by Pink Floyd. Its too bad i wasnt alive then.

My dad has had several Chevy Impalas, that was before me too.

And pong and space invaders are the best games on earth

[ April 20, 2002: Message edited by: Master of Reality ]

[ April 20, 2002: Message edited by: Master of Reality ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #39 on: 20 April 2002, 17:05 »
My clients browser says "resolving host" and just sits there like that until it times out. I have no clue how to fix this. any ideas?

(epoxy works great on those damn win keys)50
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #40 on: 20 April 2002, 21:19 »
quote:
Originally posted by Master of Reality:

the first song i learned on electric guitar was smoke on the water by Deep Purple , or maybe it was Sweet Dreams by the Eurythmics, i learned both of them the same day.
My band is even gonna play electric funeral.
I know one thing that really would have been cool to go to would have been The Wall Live Show, by Pink Floyd. Its too bad i wasnt alive then.

My dad has had several Chevy Impalas, that was before me too.

And pong and space invaders are the best games on earth



Man, talk about making someone feel old. Pink Floyd is a "new" group.     I had "The Wall" Laser Video Disk. The Laser Video Disk player just came out about the same time and I got the first one. I believe it was about 1983 or 1984. I never really got in to Pink Floyd though. I did learn a few of their songs on the guitar though for some of the bands I've been in over the years.  My favoritest bands of all time are late 70's, early 80's rock bands like early Van Halen, Rush, Boston, .38 Special, Skynyrd etc... But I also really like a lot of the '90s rock.

It's been at least a year since my last band sort of dissolved and I haven't played much since.. I find myself listening to more talk radio and less music which I believe is a sign of old age. I had a pretty good garage jam set up for practicing. My garage was sound proofed, I have a Mackie SR24 mixer, 1400i power amp, many effects, a Roland TD-7 electric drum kit, several electric guitars and basses and for practice we used a head phone amp which allowed everyone to get great sound through headphones and we didn't have to power up the Amps and piss off the neighbors...

[ April 20, 2002: Message edited by: VoidMain ]

Someone please remove this account. Thanks...

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #41 on: 20 April 2002, 21:30 »
quote:
Originally posted by Master of Reality:
My clients browser says "resolving host" and just sits there like that until it times out. I have no clue how to fix this. any ideas?

(epoxy works great on those damn win keys)50



Epoxy is great stuff.     As far as the "resolving host" thing. Is this with your client's proxy configured to point to "http://192.168.0.1" port 3128?  Did you add an access rule in your squid.conf to temporarily allow all to see if it works? I usually put an "http_access allow all" right above the line in squid.conf called "http_access allow manager" which basically opens it up wide open.

Then from one of your clients try to telnet to port 3128:

telnet 192.168.0.1 3128

Then type some garbage in followed by <ENTER> twice which should get some HTML error message and exit.

That would tell if you are talking to squid or not from the client.  But I suspect it's more an ipchains rule that is blocking the traffic. That's what it acts like if it just appears to hang.  Also is DNS client working properly on your squid server?  You need to be able to do things like "nslookup www.fuckmicrosoft.com" and get an address back. Squid will do all your name resolution when you browse, not the client.
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #42 on: 23 April 2002, 21:20 »
quote:
Originally posted by VoidMain:


Epoxy is great stuff.          As far as the "resolving host" thing. Is this with your client's proxy configured to point to "http://192.168.0.1" port 3128?  Did you add an access rule in your squid.conf to temporarily allow all to see if it works? I usually put an "http_access allow all" right above the line in squid.conf called "http_access allow manager" which basically opens it up wide open.

Then from one of your clients try to telnet to port 3128:

telnet 192.168.0.1 3128

Then type some garbage in followed by <ENTER> twice which should get some HTML error message and exit.

That would tell if you are talking to squid or not from the client.  But I suspect it's more an ipchains rule that is blocking the traffic. That's what it acts like if it just appears to hang.  Also is DNS client working properly on your squid server?  You need to be able to do things like "nslookup www.fuckmicrosoft.com" and get an address back. Squid will do all your name resolution when you browse, not the client.


(i gave up on the idea of a transparent proxy for now)
How should i go about properly configuring the DNS settings on squid? I believe it is that which is stooping me.
I cant telnet to there either, and i dont think my server is going through squid to get to the internet (i am on it right now).

[ April 23, 2002: Message edited by: Master of Reality ]

[ April 23, 2002: Message edited by: Master of Reality ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Networking Help!
« Reply #43 on: 24 April 2002, 05:13 »
You don't have to configure DNS specifically for Squid, it just has to be configured properly on the server that Squid runs on, and just be a DNS client, doesn't have to be a DNS server.  So the only thing you need to do is adjust your /etc/resolv.conf file to contain your domain name and the DNS servers you use.  It should look something like this:

Code: [Select]

And is Squid actually running? When you do a "ps auxwww | grep squid" do you see it in the process list?
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Networking Help!
« Reply #44 on: 24 April 2002, 08:21 »
quote:
Originally posted by VoidMain:
You don't have to configure DNS specifically for Squid, it just has to be configured properly on the server that Squid runs on, and just be a DNS client, doesn't have to be a DNS server.  So the only thing you need to do is adjust your /etc/resolv.conf file to contain your domain name and the DNS servers you use.  It should look something like this:

Code: [Select]

And is Squid actually running? When you do a "ps auxwww | grep squid" do you see it in the process list?[/b]

my resolv.conf  file is configured properly i checked it earlier, squid is running ( i did ps -A and squid was there).
I configured my browser to go through proxy on 192.168.0.1 port 3128.
I went into linux internet connectio nwizard and set it to go through the proxy.
I took off the changes to the host_accel stuff i did to try out the transparent proxy, i set access to 192.168.0.2-.192.168.0.4 (through webmin) then i changed it to allow all and tried it.
i still cant get it to work.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'