LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-14-2003, 08:42 PM   #1
poncho4u
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
Question configure linux to internet access in a LAN


Hi,
I am using slackware 8.1.0.

I wish to configure my linux box to access the internet via a windows-based LAN using a proxy server.How do I carry this out?.
This is my NIC configuration
network address 192.168.3.
subnet mask 255.255.255.128
default gateway 192.168.3.254

but then the proxy server address is 192.168.1.5

Now I configured the linux box to 192.168.3.50
subnet mask 255.255.255.128
default gateway 192.168.3.254

I am able to reach to the other windows 2000 machines on the LAN.I want to access the internet via this LAN which is using a proxy server of address 192.168.1.5
I even configured samba.Still i cannot browse the internet on the linux machine while I am able to ping the other machines which are the LAN and have interenet access using the same proxy server address 192.168.1.5
thanks in advance
 
Old 08-14-2003, 11:36 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
If you can ping your other machines, can you ping outside your network? If so and you get replies, have you setup your DNS entries in /etc/resolv.conf ? And if your using a proxy server to connect to websites, have you configured your proxy setting in whatever browser your using, like Mozilla?
 
Old 08-15-2003, 12:03 PM   #3
poncho4u
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for the reply.Yes I can ping all the machines in the LAN but when I ping the gateway 192.168.3.254 I get "network unreachable" as message.
Meanwile I have configured both netscape navigator and galion browsers to use a proxy server 192.168.1.5 and still I am not able to browse (I guess because I am not able to reach my network gateway).
Also during the boot process I can read this line.
SIOCADDRT network unreachable.
(I wonder what it means)

I really am at my wits' ends.
Help.
 
Old 08-15-2003, 12:05 PM   #4
poncho4u
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Also my LAN is not using a domain but just a workgroup.
 
Old 08-15-2003, 12:06 PM   #5
poncho4u
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Also my LAN is not using a domain but just a workgroup.so I did not assign a DNS for my NIC
 
Old 08-15-2003, 12:20 PM   #6
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
i had a problem like this when i was setting up my LAN, but all i had to do was setup the default gateway correctly on the linux box. it looks like you did that already, but maybe the proxy is "whacking things out," in regard to your default gw.

that's just my .02, and it might be wrong

gl,
y-p
 
Old 08-15-2003, 06:43 PM   #7
hecresper
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169

Rep: Reputation: 30
yep, the proxy's ip has to go in the browser's settings.
 
Old 08-15-2003, 10:18 PM   #8
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
Well, i would just suggest you to go to
http://www.analogx.com/contents/download/network.htm
and download a software named "proxy" if your gateway was running a window based operating system.
 
Old 08-16-2003, 08:13 AM   #9
poncho4u
LQ Newbie
 
Registered: Aug 2003
Posts: 10

Original Poster
Rep: Reputation: 0
I have already set up the proxy settings used by the other windows machines on the LAN.Can someone explain to me why I can't ping my default gateway? Also what is the meaning of the line which comes up during the booting process

SIOCADDRT network unreachable

Note: I am able to ping my machine and all the others on the LAN.

Thanks in advance
 
Old 08-16-2003, 11:56 AM   #10
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
i would suggest you to double check your pc's addresses.
Also, you could try to set all your pc's lan address to 192.168.3.***
and i am sure it'll work. Because i had just did mine in that way.
good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configure LAN for internet nitin403 Fedora 2 07-10-2005 06:17 PM
transparent internet/lan access through crossover through linux box Golovko Linux - Networking 3 03-04-2005 02:38 AM
linux squid and iptables for secure lan for internet access. pune_abhishek Linux - Networking 4 11-30-2003 08:20 PM
configure linux to internet access in a LAN poncho4u Linux - Networking 5 08-15-2003 08:43 AM
Cannot configure lan / internet settings pbartels Linux - Networking 3 08-11-2003 07:02 AM


All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration