Internet problem -- can Ping but No Browse

Booting, installing, newbie
Post Reply
Message
Author
cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

Internet problem -- can Ping but No Browse

#1 Post 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.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

What kind of Internet connection do you have? This situation is often a DNS issue.

cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

#3 Post 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
#
Last edited by cOdePuppy on Fri 28 Sep 2012, 22:18, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#4 Post by rcrsn51 »

Can you ping your 10.X.X.254?

cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

#5 Post 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'.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#6 Post by rcrsn51 »

Read here for some info about nameservers.

cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

#7 Post 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.

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#8 Post 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

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#9 Post 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).
Puppy Linux Blog - contact me for access

cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

#10 Post 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 :(

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#11 Post 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?

cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

#12 Post 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

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#13 Post 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.

cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

#14 Post 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.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#15 Post 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.
Puppy Linux Blog - contact me for access

User avatar
Moose On The Loose
Posts: 965
Joined: Thu 24 Feb 2011, 14:54

Re: Internet problem -- can Ping but No Browse

#16 Post 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.

cOdePuppy
Posts: 20
Joined: Fri 28 Sep 2012, 16:50
Location: precise-5.7.1

#17 Post 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 :?

Post Reply