Page 1 of 1

Internet problem -- can Ping but No Browse

Posted: Fri 28 Sep 2012, 17:01
by cOdePuppy
Hello,

I'm new here.

I can't connect to the internet from my Puppy Linux.
It can ping yahoo,google but not browse.

How to get internet on this?


Thanks.

Posted: Fri 28 Sep 2012, 17:05
by rcrsn51
What kind of Internet connection do you have? This situation is often a DNS issue.

Posted: Fri 28 Sep 2012, 17:43
by cOdePuppy
It's a Wimax wireless connection & dhcp.

This is the screenshot of some terminalt commands (I changed the IP with some "X"):
# ifconfig
eth1
Link encap:Ethernet HWaddr 00:XX:YY:ZZ:E1:4C
inet addr:10.X.X.100 Bcast:10.X.X.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo
Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
# ping www.google.com -c 3
PING www.google.com (173.194.38.180): 56 data bytes
64 bytes from 173.194.38.180: seq=0 ttl=55 time=142.657 ms
64 bytes from 173.194.38.180: seq=1 ttl=55 time=147.001 ms
64 bytes from 173.194.38.180: seq=2 ttl=55 time=191.815 ms
--- www.google.com ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 142.657/160.491/191.815 ms
# cat /etc/resolv.conf
# Generated by dhcpcd for interface eth1
search wimax
nameserver 10.X.X.254
#

Posted: Fri 28 Sep 2012, 17:52
by rcrsn51
Can you ping your 10.X.X.254?

Posted: Fri 28 Sep 2012, 18:10
by cOdePuppy
Haven't checked but I can browse it by SeaMonkey, so may be ping is possible too (I'm posting from another OS). Also saw tracerout work for 'yahoo'.

Posted: Fri 28 Sep 2012, 18:41
by rcrsn51
Read here for some info about nameservers.

Posted: Fri 28 Sep 2012, 22:22
by cOdePuppy
I've tried with 'opendns' ip addresses as 'nameservers' in /etc/resolv.conf ; still only ping,tracerout etc. but no browsing.
Also after reboot ; the modem resets it's own 'nameserver' & delete any added nameservers.

Posted: Sat 29 Sep 2012, 00:28
by cthisbear
cOdePuppy :

Help us out....

Exact Puppy version....computer specs

and try these...

http://murga-linux.com/puppy/viewtopic.php?t=81028

And use Frisbee.

Chris

Posted: Sat 29 Sep 2012, 00:38
by 01micko
Hmm... could be a subnetmask problem.

CLASS A < -- subnet 255.0.0.0

CLASS B < -- subnet 255.255.0.0

CLASS C < -- subnet 255.255.255.0

Yours falls into CLASS A.. look at the loopback subnetmask

ref: Cisco

What distro and network tool are you using? I'd suggest Dougal's Network Wizard. SNS (I don't think) supports anything but CLASS C, not sure about Frisbee.

The reason I suggest Network Wizard is that when you fail to connect you get the default CLASS 2 address assigned.. 169.254.xxx.xxx, 255.255.0.0 (correct subnetmask for class).

Posted: Sat 29 Sep 2012, 01:21
by cOdePuppy
cthisbear wrote:................
Exact Puppy version....computer specs
Where to check version? These are inside puppy cd:

Code: Select all

boot.cat  help.msg   isolinux.bin  logo.16      vmlinuz
boot.msg  initrd.gz  isolinux.cfg  pup-431.sfs
Computer: Pentium 4
Ram: 768 mb
Wireless Modem:

Code: Select all

$ /sbin/lsusb 
Bus 001 Device 002: ID 0e8d:7115 MediaTek Inc. 
Bus 001 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000.........  
(output from other distro); it is a hostless 'plug & play' modem. Works on any OS without installer. I'm using it on other Linux/Windows without any IP,nameserver configuration.
.........
and try these...

http://murga-linux.com/puppy/viewtopic.php?t=81028

And use Frisbee.
Checked that link, didn't understand much, sorry.

Where is Frisbee?
01micko wrote:................
What distro and network tool are you using? I'd suggest Dougal's Network Wizard. SNS (I don't think) supports anything but CLASS C, not sure about Frisbee.

The reason I suggest Network Wizard is that when you fail to connect you get the default CLASS 2 address assigned.. 169.254.xxx.xxx, 255.255.0.0 (correct subnetmask for class).
I tried with the tool on the desktop.
Don't know much about subnet stuffs :(

Posted: Sat 29 Sep 2012, 02:23
by rcrsn51
cOdePuppy wrote: pup-431.sfs
I would try a much newer Puppy version, like Slacko 533.

When you run a different Linux, what do you see in /etc/resolv.conf?

Posted: Sat 29 Sep 2012, 17:39
by cOdePuppy
rcrsn51 wrote:
cOdePuppy wrote: pup-431.sfs
I would try a much newer Puppy version, like Slacko 533.
I should try it. Can I upgrade current one without internet connection?
When you run a different Linux, what do you see in /etc/resolv.conf?

Code: Select all

$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search wimax
nameserver 10.X.X.254

Posted: Sat 29 Sep 2012, 17:48
by rcrsn51
cOdePuppy wrote:I should try it. Can I upgrade current one without internet connection?
This isn't an upgrade - it's a completely different Puppy. Slacko 533 is here.

Code: Select all

$ cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search wimax
nameserver 10.X.X.254
So apparently, 10.X.X.254 is the nameserver. I don't know why this doesn't work in 431.

Posted: Fri 05 Oct 2012, 10:02
by cOdePuppy
Hi,
Me again.
I've found this thing new.
I can install package through "puppy package manager"
Also can connect to FTP servers using "gftp"
Here's some of the download info:

Code: Select all

=> `leafpad-0.8.12.pet'
Resolving ftp.linux.hr... 193.198.184.20
Connecting to ftp.linux.hr|193.198.184.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.
==> PWD ... done.
==> TYPE I ... done. ==> CWD /puppylinux/pet_packages-4 ... done.
==> PASV ... done.
==> RETR leafpad-0.8.12.pet ... done.
Length: 37,069 (36K) (unauthoritative)
38% [=============>		                 ]  14,360	                       25.87K/s

=> `pidgin-2.4.1.pet'
Resolving ftp.linux.hr... 193.198.184.20
Connecting to ftp.linux.hr|193.198.184.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.
==> PWD ... done.
==> TYPE I ... done. ==> CWD /puppylinux/pet_packages-4 ... done.
==> PASV ... done.
==> RETR pidgin-2.4.1.pet ... done.
Length: 1,647,093 (1.6M) (unauthoritative)
47% [================>		                 ]  774,168	         61.81K/s
It's connecting to FTP servers ; not HTTP :?

I've tried all as a default root user. Is there any rule like root can't browse the Internet by default?

This isn't an upgrade - it's a completely different Puppy. Slacko 533 is here.
Thanks for the link. I'll try that version.

Posted: Fri 05 Oct 2012, 11:44
by 01micko
Puppy 431 ships with an old seamonkey, 1.1.15 (iirc, maybe slightly newer). I wonder if your ISP is blocking the browser? Also, there are settings in the browser that may help, see the preferences in the browser menu.

You could try a different browser. Firefox 2 should run in it, or even an early FF 3. You'll have to dig around to find those though as many links will be broken.

Re: Internet problem -- can Ping but No Browse

Posted: Fri 05 Oct 2012, 14:41
by Moose On The Loose
cOdePuppy wrote:Hello,

I'm new here.

I can't connect to the internet from my Puppy Linux.
It can ping yahoo,google but not browse.

How to get internet on this?


Thanks.
Do you get that the connection or session was interrupted?

If so, you may be on one of those ISPs that requires you to sign an agreement before you browse. They trap all attempts to do HTTP and redirect you to the page where they say "click here to agree". Unfortunately, many of them are not doing it right and some browsers see it as an error and don't take you to the page for you to agree.

Posted: Sat 06 Oct 2012, 03:58
by cOdePuppy
01micko wrote:.......
I wonder if your ISP is blocking the browser? Also, there are settings in the browser that may help, see the preferences in the browser menu.

..... You'll have to dig around to find those though as many links will be broken.
Installed Firefox 2 from package manager. Not browsing. It's not even browsing ISP's webpages which usually can connect without Internet connection.

Have downloaded some files outside of Puppy packages by gftp, they do download.

Not sure if any special setup require at browsers preference.
Moose On The Loose wrote: .......Do you get that the connection or session was interrupted?......
It just shows nothing. At bottom left "Waiting for www.google.com... ... same for other websites.

Does this anything to do with net browsing?

Code: Select all

# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q 	Local Address	Foreign Address		State	PID/Program name
tcp	   0	  0 	    0.0.0.0:631	    0.0.0.0:*   LISTEN	    cupsd
or, the file networks?

Code: Select all

# cat /mnt/etc/networks
loopback  127.0.0.0
puppynet  192.168.1.0
I don't remember anything assigning as puppynet/192.168.1.0 :?