how to configure proxy in puppy?
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?
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?
That is a difference. The way I read the script is that a ping failure initiates the error loop.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.
How about testing ping?
# ping www.google.com
(ctrl-c to stop)
# ping ibiblio.org
I'd like to know what you get.
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 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
ping -c 1 www.google.compuppian 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 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.
That's really a big differenceBruce B wrote:You have 100% loss and I have 0% loss.
I don't know. I install the Morizot firewall through the wizard.Bruce B wrote:Are you blocking PORT 8 with a firewall? Are you behing a router or something between your PC and a direct Internet connection?
If I don't know anything about router does it mean that I'm not behind one?
Btw, would the way I installed the modem driver make any difference? As Puppy 1.0.3 doesn't have the make/install command, I install it using insmod -f and a few other lines, something like this:
insmod -f Intel536.o
rm /dev/536ep
mknod /dev/536ep c 240 1
ln -s /dev/536ep /dev/modem
It's an Intel 536 modem and the driver was downloaded from Intel's website.
Would the lack of configuration, which should have been done by make/install, be the cause of 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
I guess you are not behind a router.
I presume a direct telephone modem Internet connection.
Let's look at my successful ping again
64 bytes from 66.102.7.104: icmp_seq=0 ttl=243 time=24.0 ms
I have a really, really fast connection. You don't.
One possibility is ping works, but the ttl (time to live) gets exceeded. Unfortunately, Puppy's ping doesn't seem have a way of extending the tll. It is a busybox ping lacking some features.
I would consider the possiblity of a problem due to a slow connection as one possibility. But there are other possibilities also.
The PING PORT IS PORT 8 - it accepts a specific type of protocol called an ICMP packet and responds to it with a reply.
The ping request is sent from your computer to the other computers PORT 8.
At this point we don't even know if the ping request is leaving your computer, as it could be blocked on outbound.
I'll PM you later with my IP address and see if my log shows receiving your request. That's about alll I can think of right now.
I presume a direct telephone modem Internet connection.
Let's look at my successful ping again
64 bytes from 66.102.7.104: icmp_seq=0 ttl=243 time=24.0 ms
I have a really, really fast connection. You don't.
One possibility is ping works, but the ttl (time to live) gets exceeded. Unfortunately, Puppy's ping doesn't seem have a way of extending the tll. It is a busybox ping lacking some features.
I would consider the possiblity of a problem due to a slow connection as one possibility. But there are other possibilities also.
The PING PORT IS PORT 8 - it accepts a specific type of protocol called an ICMP packet and responds to it with a reply.
The ping request is sent from your computer to the other computers PORT 8.
At this point we don't even know if the ping request is leaving your computer, as it could be blocked on outbound.
I'll PM you later with my IP address and see if my log shows receiving your request. That's about alll I can think of right now.
you seem to have a direct dialup connection
the driver could be blocking the ping packets
i don't think it should be doing that though
i made the Morizot firewall here
i think i just used the default configuration
i hacked it a bit, so if it doesn't work right you can blame me
it isn't very restrictive
basically, it should allow all requests out
it should allow all replies to requests in
it should block all other incoming packets
so it should not block the pings
i use that firewall, and it doesn't block pings on my machine
you can easily shut down the firewall to see if it's the problem ... just type:
/etc/rc.d/rc.firewall-morizot stop
you can start it again by typing:
/etc/rc.d/rc.firewall-morizot
or something like that ... i don't actually use Puppy's firewall wizard ... i just put my own copies of the firewall in my-applications/bin, so i can just type
fw stop
fw
fw-azureus
i hacked it a bit, to stop the logging ... i found the logging annoying on the command line if i shut down X
another simple firewall which should be good is Quicktables ... there's a Quicktables dotpup somewhere
the driver could be blocking the ping packets
i don't think it should be doing that though
i made the Morizot firewall here
i think i just used the default configuration
i hacked it a bit, so if it doesn't work right you can blame me
it isn't very restrictive
basically, it should allow all requests out
it should allow all replies to requests in
it should block all other incoming packets
so it should not block the pings
i use that firewall, and it doesn't block pings on my machine
you can easily shut down the firewall to see if it's the problem ... just type:
/etc/rc.d/rc.firewall-morizot stop
you can start it again by typing:
/etc/rc.d/rc.firewall-morizot
or something like that ... i don't actually use Puppy's firewall wizard ... i just put my own copies of the firewall in my-applications/bin, so i can just type
fw stop
fw
fw-azureus
i hacked it a bit, to stop the logging ... i found the logging annoying on the command line if i shut down X
another simple firewall which should be good is Quicktables ... there's a Quicktables dotpup somewhere
hacked PupGet
here's a slightly hacked version of PupGet from Puppy 1.0.5 alpha 2
it may or may not be compatible with the version of Puppy you are using
this should install in my-roxapps
i disabled the ping test
it may or may not be compatible with the version of Puppy you are using
this should install in my-roxapps
i disabled the ping test
- Attachments
-
- pupget105a2hacked.pup
- hacked PupGet
- (13.54 KiB) Downloaded 347 times
Yes, it's a direct telephone modem Internet connectionBruce B wrote:I guess you are not behind a router.
I presume a direct telephone modem Internet connection.
Yes please.Bruce B wrote:One possibility is ping works, but the ttl (time to live) gets exceeded. Unfortunately, Puppy's ping doesn't seem have a way of extending the tll. It is a busybox ping lacking some features.
I'll PM you later with my IP address and see if my log shows receiving your request. That's about alll I can think of right now.
I have both Win98 and XP on the same computer, how to do I ping it from Windows? Type something in the command line?Bruce B wrote:If you have Windows on the same computer you can try pinging it from Windows.
Tried it according to your instruction but there's no difference. So the problem is not caused by the Morizot firewall.GuestToo wrote:you can easily shut down the firewall to see if it's the problem
Hey it works!!!!GuestToo wrote:here's a slightly hacked version of PupGet
I've downloaded the Impress Slide Presentation package in seconds!
So with help from both of you we can now conclude that the problem is caused by ping. Thanks!
Now we can go on to check Bruce assumption:
"One possibility is ping works, but the ttl (time to live) gets exceeded..."
Btw, when I go to http://www.all-nettools.com/toolbox to try their ping test, it gives:
www.l.google.com (64.233.161.104)
4 packets transmitted, 4 packets received, 0% packet loss
Host reachable, average round-trip time: 12.209 ms
It seems working! I don't know why...
I'm using Opera to access all-nettools.com.
Edit: Typing ping www.google.com under WinXP gives this:
E:\Documents and Settings\supxp02>ping www.google.com
Pinging www.l.google.com [66.102.7.99] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 66.102.7.99:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Again 100% loss.
I'm wondering whether the performance of my connection is affected with the 100% loss?
Or it doesn't matter at all?
www.l.google.com (64.233.161.104)
4 packets transmitted, 4 packets received, 0% packet loss
Host reachable, average round-trip time: 12.209 ms
It seems working! I don't know why...
I'm using Opera to access all-nettools.com.
Edit: Typing ping www.google.com under WinXP gives this:
E:\Documents and Settings\supxp02>ping www.google.com
Pinging www.l.google.com [66.102.7.99] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 66.102.7.99:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Again 100% loss.
I'm wondering whether the performance of my connection is affected with the 100% loss?
Or it doesn't matter at all?
[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
Well this explains my problem. I block all ICMP packets and thought the package installer just didn't work. I've been getting this since I started:Bruce B wrote: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.
ERROR: 10 IS UNREACHABLE!
...are you connected to the Internet?
...maybe that site is down? Try another.
I ended up just downloading them and installing them from my local system. I think pupget should only fail on the actual HTTP GET or FTP request, not a ping.
It seems apparent to me, by reading the script that the pinging used as a health test to see if it's good to go through with the rest of the procedure.John Doe wrote:Well this explains my problem. I block all ICMP packets and thought the package installer just didn't work. I've been getting this since I started:Bruce B wrote: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.
ERROR: 10 IS UNREACHABLE!
...are you connected to the Internet?
...maybe that site is down? Try another.
I ended up just downloading them and installing them from my local system. I think pupget should only fail on the actual HTTP GET or FTP request, not a ping.
Now that it is discovered people that some people are having problems with ping, wget could be used to check health if someone wants to rewrite the script. Also wget would use the actual server ports and get actual server response.
play with things like:
wget www.ibiblio.org --server-response --tries=1 --timeout=15 --cookies=off --output-file=/tmp/health.test
wget ftp.ibiblio.org --server-response --tries=2 --timeout=30 --output-file=/dev/null
(i don't know off hand the optimum timeout and tries to determine a pass or fail or way to go about it)
I think the key word string to look for in an automated health test is 200 OK
you can install and use the standard ping program in Puppy too ... go to my dotpups page, press ctrl+F to search for ping
Thanks! Bruce has also sent me something similar too, many thanks for everyone's help! You guys are just greatGuestToo wrote:you can install and use the standard ping program in Puppy too ... go to my dotpups page, press ctrl+F to search for ping
With the new ping,
Code: Select all
PING www.l.google.com (66.249.89.99) 56(84) bytes of data.
From 202.130.xx.xx: icmp_seq=1 Dest Unreachable, Bad Code: 9
From 202.130.xx.xx icmp_seq=1 Dest Unreachable, Bad Code: 9
From 202.130.xx.xx icmp_seq=2 Dest Unreachable, Bad Code: 9
From 202.130.xx.xx icmp_seq=3 Dest Unreachable, Bad Code: 9
From 202.130.xx.xx icmp_seq=4 Dest Unreachable, Bad Code: 9
From 202.130.xx.xx icmp_seq=5 Dest Unreachable, Bad Code: 9
Btw, I just know that I've forgotten to disable my firewall when I try ping in WinXp
Now with my firewall (McAfee) disabled, it gives:
Code: Select all
E:\Documents and Settings\supxp02>ping www.google.com
Pinging www.l.google.com [66.249.89.104] with 32 bytes of data:
Reply from 202.130.xx.xxx: Destination net unreachable.
Reply from 202.130.xx.xxx: Destination net unreachable.
Reply from 202.130.xx.xxx: Destination net unreachable.
Reply from 202.130.xx.xxx: Destination net unreachable.
Ping statistics for 66.249.89.104:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
[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
ping 127.0.0.1 gives 0% loss:Bruce B wrote:I don't know.
Ping yourself at 127.0.0.1 and at your Internet IP address and see what you get.
================
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.112 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.115 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.114 ms
--- 127.0.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2997ms
rtt min/avg/max/mdev = 0.112/0.117/0.130/0.015 ms
================
Ping ISP IP address still gives 'bad code 9' and
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3050ms
================
How? By typing myping -t XX in rxvt?Bruce B wrote:Increase the ttl
And what should be the value of XX?
Thanks for your patience with me. I'm a newbie in networking
As I know nothing about 'ping' I'm asking another silly questionBruce B wrote:If you have enough ttl and your really are not blocking yourself with a firewall or something, call your ISP. Make their tech help explain it to you.
Does it really matter if ping results in 100% packet loss?
And is my connection speed affected by that?
My browser, gFTP, wget...etc all seems working, except pupget.
So perhaps I should leave it that way?
(Of course it wiill be great if I can have '0% packet lose', but maybe it's too difficult for a newbie like me )
[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
For what it's worth, the ping issue could be due to location. I live in Central America and the way things are configured here, most likely with my internet provider, I can't ping anything beyond the name servers of my provider.
In Windows you can see if this is your problem by opening a dos window and running a trace route command. This will show you all the connections made between your computer and google (up to 30 hops):
tracert www.google.com
I found this thread in response to my inability to use PupGet. And now I know why. Thanks for the insight!
In Windows you can see if this is your problem by opening a dos window and running a trace route command. This will show you all the connections made between your computer and google (up to 30 hops):
tracert www.google.com
I found this thread in response to my inability to use PupGet. And now I know why. Thanks for the insight!
Experience is a wonderful thing; it enables you to recognize a mistake when you make it again.