LinuxQuestions.org
Review your favorite Linux distribution.
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 07-23-2006, 03:48 PM   #1
sl4ckw4re
Member
 
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31

Rep: Reputation: 15
configure web browser to use certain ip


hello. i have maybe an unusual problem?! i take internet from a person who has a small network in the hood i'm living. he in his turn takes internet from 2 other big providers (in my case RomTelecom - on ADSL and Astral - optic fiber). in my network settings i put the ip from Astral and every service i'm using uses Astral's internet which is perfect, 99.9% uptime i may say, but when browsing sites it uses the RomTelecom ip which has very less uptime. is there a way i can make/set my browser or what should i set in the first place, to use Astral on port 80 and any other ports used for sites ? for example in gaim too, if i let Autodetect IP address checked it detects RomTelecoms IP and use it but if i enter my Astral IP it works too, even when RomTelecom is down. Any ideeas, suggestions ? Please! Thanks alot.
 
Old 07-23-2006, 07:55 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
Do you have 2 network interfaces?
 
Old 07-23-2006, 08:12 PM   #3
sl4ckw4re
Member
 
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
no, i have only 1 interface. i connect to the server (gateway) of the person who owns this little network.
 
Old 07-23-2006, 09:47 PM   #4
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 31
ARe you using dhcp to get your IP address?

You can simply run "netconfig"(or whatever it's called) and type in your information manually to override dhcp, and then you can set the default GAteway to whichever you want.
 
Old 07-24-2006, 02:53 AM   #5
nykey
Member
 
Registered: Nov 2003
Location: Tg-Jiu, Romania
Distribution: OpenSUSE 11.1 / echo "Windows XP" > Trash
Posts: 360

Rep: Reputation: 30
he said he's using static ip
 
Old 07-24-2006, 03:12 AM   #6
Voltar
Member
 
Registered: Jan 2006
Location: Bakersfield, California
Distribution: CentOS 5.3, FreeBSD 7.2, Fedora 11
Posts: 83

Rep: Reputation: 15
Static IPs for the Internet connections or the LAN?

Also, if you only have one NIC, I think it'd be the job of the gateway/router to determine which ISP to route you over, and if so, I don't think you'd have any control over changing it. I may be wrong though.
 
Old 07-24-2006, 03:33 AM   #7
sl4ckw4re
Member
 
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
i have static ip for internet connection, here's my info
IP address: 89.136.239.15x
Netmask: 255.255.255.128
Gateway: 89.136.239.25y
Nameserver: 89.136.239.25y (same as gateway)

The IP address is Astral's IP and is used for everything as i said, for example if i start ssh daemon, webserver, ftp server, everything who want to connect uses that ip, but when i open a webpage it uses an IP address of Romtelecom, i've checked it on checkmyip.com and few other similar sites. i tought about this can only be made from the main gateway, but i also tought there might be a way to do this locally, cause they don't want to change anything in their server. i got this ideea when i seen that it worked with Gaim. if i connected to gaim i had Romtelecom ip address, but if i go to Settings - Network - uncheck Autodetect IP adress and enter my Astral IP address i also could connect even if Romtelecom was down, so looks like it can be overwritten somehow but i just dont know how to do it for web browsing. i tought about making a proxy server here on my PC using the Astral IP and pointing all my webbrowsers to use this proxy but i'm not sure if it will work. could someone guide me on how to make a proxy server, what software i need and to use, stuff like that. thanks again.
 
Old 07-24-2006, 03:37 AM   #8
sailu_mvn
Member
 
Registered: Sep 2004
Location: Hyderabad
Distribution: FEDORA,REDHAT,HOST
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
u want to configure a web browser... say ur ip is 89.136.239.15x.
Then open /etc/httpd/conf/httpd.conf. In that look for ServerName line. replace whatever with ur IP.then restart httpd server
Thats it.u webserver is ready
 
Old 07-24-2006, 03:49 AM   #9
sl4ckw4re
Member
 
Registered: Jul 2006
Distribution: Slackware 10.2
Posts: 31

Original Poster
Rep: Reputation: 15
i am not trying to change the ip address of my webserver. i'm trying to change the ip address my browser uses when i surf websites. but thanks anyway for your interest.
 
Old 07-24-2006, 03:51 AM   #10
syahid
Member
 
Registered: Jan 2004
Distribution: Slackware For Slackers
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by sl4ckw4re
i am not trying to change the ip address of my webserver. i'm trying to change the ip address my browser uses when i surf websites. but thanks anyway for your interest.
did not get what u mean.
do u need to change the proxy address? firefox ? iE?
 
Old 07-24-2006, 09:29 PM   #11
acummings
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 615

Rep: Reputation: 50
Quote:
if i connected to gaim i had Romtelecom ip address, but if i go to Settings - Network - uncheck Autodetect IP adress and enter my Astral IP address i also could connect even if Romtelecom was down, so looks like it can be overwritten somehow but i just dont know how to do it for web browsing.
It sounds like you want to point a web browser at a different (not the default) target.

I'm guess that config Firefox for a manual proxy *might* work in Firefox browser

Firefox menu: edit > preferences > general

click on button entitled "connection settings"

help at that point brings:

Manual proxy configuration


Choose this if you don't have a proxy location (URL). Ask your
system administrator for the names and port numbers of the servers
running proxy software for each network service and enter the
information in the appropriate fields.
---------------------------------------------------------------

except that I'm guess your server may/may_not be running proxy software.

I'm not absolutely certain, but I think it doesn't matter (yes/no the proxty software on server)

I think what matters is that if Firefox finds an http (www) supplier/server at where you pointed Firefox to.

--
Alan.
 
  


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
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 1 01-01-2005 02:15 PM
public web browser aka web kiosk xmnemonic Linux - Software 6 06-14-2004 03:20 PM
Best web browser ChaosX2 Linux - General 13 05-01-2003 12:48 PM
Web Browser Snabber Linux - Newbie 14 12-24-2002 01:41 AM
Web Browser(s)... Which One??? macdudelx Linux - General 2 06-11-2002 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration