how to configure proxy in puppy?

Booting, installing, newbie
Message
Author
sensen_jessica
Posts: 5
Joined: Fri 02 Sep 2005, 07:23

how to configure proxy in puppy?

#1 Post by sensen_jessica »

hi,

i am trying to use getpup in my office but i am behind a firewall. how do i set proxy for puppy? in dsl it is using export command in bash.rc. anything similar in puppy?

also, with gaim i cannot seem to login to msn in the office not sure why. maybe it is the same issue.

also puppy rocks!!! wish it has dsl's looks though.......

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#2 Post by Lobster »

You can change the way puppy looks with the icewm and fluxboxwm (wm = windows manager) once you are able to bypass your firewall. Also KDE window manager is on the way as a pupget . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

PupGet uses wget to download the package
if you chose to download from the nluug.nl site, there should be no problems, because it is an http website that uses http protocol, port 80

that is, if you can see web pages in your browser, then PupGet should work

if you choose to download from ibiblio.org, it uses ftp protocol, and you might have firewall problems

you can download the packages from here anyway, using your web browser, and install the package as an alien package
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... ackages-1/

you download dotpup files with your browser, then click them, so there should be no problem with dotpups

sensen_jessica
Posts: 5
Joined: Fri 02 Sep 2005, 07:23

#4 Post by sensen_jessica »

is there a way to tell pupget package manager as to where to get the packages? i mean tell it to go to ftp site or http site? thanks.....

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#5 Post by GuestToo »

i am running Puppy 1.0.5 alpha 2 right now
i have not used pupget much
i looked in the pupget script, and it seems to ask you where you want to download from, ibilio or nluug.nl
pupget in earlier versions might be different

you should still be able to download the packages using the browser, and install as a local package, it should be about as easy

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#6 Post by rarsa »

sensen_jesica,

Puppy does not have multiple mirrors for the pupgets as other distributions have.

So you have to use the servers listed in the pupget.

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#7 Post by puppian »

GuestToo wrote:i am running Puppy 1.0.5 alpha 2 right now
i have not used pupget much
i looked in the pupget script, and it seems to ask you where you want to download from, ibilio or nluug.nl
pupget in earlier versions might be different
I can never download packages using pupget too. Both browser and gftp work fine. So there should be no problem accessing ftp sites.
"ERROR: 11 IS UNREACHABLE!
...are you connected to the Internet?
...maybe that site is down? Try another."

Why is it?
I'm using Puppy 1.0.3, Morizot Firewall and Intel 536 modem with Intel's driver (I load it using insmod -f and a few lines of other commands).
GuestToo wrote:you should still be able to download the packages using the browser, and install as a local package, it should be about as easy
That's what I usually do, but that could be confusing and perhaps disappointing to newbies when they use puppy for the first time :(

And sensen_jessica, at the mean time you can download your package somewhere (eg, /root/) and choose 'local' instead of 'ibiblio.org' and 'nluug.nl' when asked where you want to download the file.
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#8 Post by GuestToo »

pupget in 1.0.5 alpha 2 is probably different

it asks where you want to download from:
http://tinypic.com/dbp91v.jpg

it downloads:
http://tinypic.com/dbpair.jpg

everything is ok:
http://tinypic.com/dbpb0p.jpg

Guest

#9 Post by Guest »

when i use pupget:
Attachments
pupget2.gif
the download doesn't start no matter which button i click (ibiblio or nluug) and an error message is shown
(6.93 KiB) Downloaded 4004 times
pupget1.gif
it asks where i want to download from
(5.96 KiB) Downloaded 3942 times

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#10 Post by puppian »

me above :)

btw it seems that no one is complaining about the same thing except me
perhaps only me have the problem...
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

sensen_jessica
Posts: 5
Joined: Fri 02 Sep 2005, 07:23

#11 Post by sensen_jessica »

thanks for all the suggestions and inputs. i have tried choosing either the ftp or http site in the office but it just doesnt work. i have set proxy for mozilla and i am able to browse in the office. but i guess getpup needs a global proxy setting. like in dsl you can do this by changing bash.rc file and do an export proxy.

in any case i can always do the alien package thing. so there is a way around it.

Bruce B

#12 Post by Bruce B »

there are enviroment settings and .wgetrc settings, but even if all this were set correctly, there is no gaurantee that it will work, depending on the firewall restrictions and proxy services available.

pupget allows you to get your pups from anywhere on the local filesystem including cdrom thereby side-stepping the firewall and proxy.

you can download the pupgets and burn them to cdrom if you want.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#13 Post by GuestToo »

sorry, i was just thinking about the firewall part
what you really wanted to know was the proxy part

pupget downloads using wget
so all you need to do is configure wget to use your proxy

if you make a file in /root called .wgetrc (a hidden file because of the dot), you can put your proxy configuration in it ... some thing like:

http_proxy = 127.0.0.1:8118
ftp_proxy = 127.0.0.1:8118

of course, changing the ip and port to the values you need to use ... your proxy may have a name instead of ip numbers

i think you can also set a user name and password if necessary

proxy_user = string
proxy_passwd = string

if you can access web pages with your browser, then if you configure wget to use the same proxy, then pupget and wget should also work

i don't use an external proxy, but i tested .wgetrc with my Privoxy proxy, and it seems to work ok

see: http://tinyurl.com/828kk
and: http://tinyurl.com/djt23

Bruce B

#14 Post by Bruce B »

BTW - If the firewall - proxy combination doesn't allow for FTP, you would want to choose nluug.nl

nluug.nl is http
ibiblio is ftp

Bruce B

#15 Post by Bruce B »

Thinking more about it - I'd say that error 10 and 11 is generated by a failure of the ping command to get a response.

It seems to me that even IF all your configurations were correct AND IF the ping command failed you'd still be in the error loop.

AND - It seems to me by method of logical deduction, based on what you've already reported, the firewall is not permitting ping through.

puppian_guest

#16 Post by puppian_guest »

Fyi, wget works fine here when I type "wget http://url" in rxvt, without any manual configuration...so that really confuses when I first met puppy, all programs connecting to the internet work EXCEPT pupget!

I had tried to see if pupget will work before I install the firewall (long time ago, if I don't remember it wrong), and still no luck :(

Would it be the modem? :?

puppian_guest

#17 Post by puppian_guest »

Oh..forgot to say that my situation is perhaps different from that of sensen_jessica.
I don't think I'm behind any firewall (except Morizot Firewall which I installed) and I don't use any proxy.

Bruce B

#18 Post by Bruce B »

puppian_guest wrote:Oh..forgot to say that my situation is perhaps different from that of sensen_jessica.
I don't think I'm behind any firewall (except Morizot Firewall which I installed) and I don't use any proxy.
That is a difference. The way I read the script is that a ping failure initiates the error loop.

How about testing ping?

# ping www.google.com

(ctrl-c to stop)

# ping ibiblio.org

I'd like to know what you get.

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#19 Post by puppian »

Thanks for the input Bruce :)

# ping www.google.com
PING www.l.google.com (66.249.89.99): 56 data bytes

--- www.l.google.com ping statistics ---
145 packets transmitted, 0 packets received, 100% packet loss
# ping ibiblio.org
PING ibiblio.org (152.2.210.80): 56 data bytes

--- ibiblio.org ping statistics ---
126 packets transmitted, 0 packets received, 100% packet loss

What does that mean?
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

Bruce B

#20 Post by Bruce B »

puppian wrote:Thanks for the input Bruce :)

# ping www.google.com
PING www.l.google.com (66.249.89.99): 56 data bytes

--- www.l.google.com ping statistics ---
145 packets transmitted, 0 packets received, 100% packet loss
# ping ibiblio.org
PING ibiblio.org (152.2.210.80): 56 data bytes

--- ibiblio.org ping statistics ---
126 packets transmitted, 0 packets received, 100% packet loss

What does that mean?
ping -c 1 www.google.com
PING www.l.google.com (66.102.7.104): 56 data bytes
64 bytes from 66.102.7.104: icmp_seq=0 ttl=243 time=24.0 ms

--- www.l.google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 24.0/24.0/24.0 ms

----------------

You have 100% loss and I have 0% loss.

I also pinged the IP address 66.249.89.99 with no packet loss.

----------------

This is why pupget works for me and why it puts you in a loop.

I don't know. Are you blocking PORT 8 with a firewall? Are you behing a router or something between your PC and a direct Internet connection?

I guess I'd need to have a better picture of your connection setup before I could guess what might be the problem.

Post Reply