Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-14-2003, 08:42 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Rep:
|
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
|
|
|
08-14-2003, 11:36 PM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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?
|
|
|
08-15-2003, 12:03 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
08-15-2003, 12:05 PM
|
#4
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
Also my LAN is not using a domain but just a workgroup.
|
|
|
08-15-2003, 12:06 PM
|
#5
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
Also my LAN is not using a domain but just a workgroup.so I did not assign a DNS for my NIC
|
|
|
08-15-2003, 12:20 PM
|
#6
|
Member
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244
Rep:
|
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
|
|
|
08-15-2003, 06:43 PM
|
#7
|
Member
Registered: Dec 2002
Location: California
Distribution: Slackware & FreeBSD
Posts: 169
Rep:
|
yep, the proxy's ip has to go in the browser's settings.
|
|
|
08-15-2003, 10:18 PM
|
#8
|
Member
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674
Rep:
|
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.
|
|
|
08-16-2003, 08:13 AM
|
#9
|
LQ Newbie
Registered: Aug 2003
Posts: 10
Original Poster
Rep:
|
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
|
|
|
08-16-2003, 11:56 AM
|
#10
|
Member
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 10:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|