LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   web browsing - some sites blocked some not (http://www.linuxquestions.org/questions/linux-newbie-8/web-browsing-some-sites-blocked-some-not-485409/)

galrub 09-20-2006 04:54 PM

web browsing - some sites blocked some not
 
Hi all...
I'm new to linux and to this forum.

I installed SuSE linux 10.1 on my PC and got to problems:

1) when I open FireFox, I can't see google. I can go on Novell's site, but, most sites seem blocked (unavilable). what can I do to have a normal access to all sites (it's so bad, I have to use the XP to post this).

I have an external ADSL LAN modem/router, but I don't think it's a problem with him couse when I star MS-XP
I dont have any restriction.

2) I have two HD's. on hda I have XP/sp2 and on hdb have the linux. I cant access the XP (NTFS) drivers from linux. int the initial startup I can catch a glimps that the mounting process fails beacouse "dev/hda1 not exist" or something like that.

thanks a lot,
Gal

acid_kewpie 09-21-2006 10:16 AM

i think we need to define what "blocked" means a bit more... can you get these sites via curl or another much simpler client? you don't mention anything about proxies or such, so what happens if you run "curl -v www.google.com"?

lostn1slinux 09-21-2006 11:16 AM

do you have all of your plug-ins and java support downloaded and installed for firefox?

odcheck 09-21-2006 11:23 AM

can you ping any sites?
Does it work if you shutdown the SuSe Firewall for a moment in order to see if this is where you've to adjust something?
Do you have got a DHCP on your router?
Has /etc/resolve.conf a nameserver entry listed?

2nd. I need an output of
Code:

fdisk -l
here so
I can try to tell you how to setup your /etc/fstab to read files from NTFS.

galrub 09-22-2006 01:12 PM

nothing yet... got this from curl
 
hi all,

as far as the mount, everything is fine, thanx...

I tried curl and got this:

linux-zsnc:~ # curl -v www.google.com
* getaddrinfo(3) failed for www.google.com:80
* Couldn't resolve host 'www.google.com'
* Closing connection #0
curl: (6) Couldn't resolve host 'www.google.com'

1)you guy said "disable Firewall" and "ping", how do I do it?

2) DHCP? the router has DHCP, how do I sync between the linux and the router?

2) firefox plug-ins install? dont know if there are. how do I check and install?

guy's, let's face it, in most cases, the SuSE archive is really BAD.

thanks

w3bd3vil 09-22-2006 01:26 PM

you dont need to disable ping. you got that part wrong.
check to see if you have firewall rules set, in the terminal type iptables -L -v
can you access other sites than the novell site?
plugins should be a later concern for this.

you dont seem to be able to resolve google.com which must be a dns problem. trying using different dns servers in /etc/resolv.conf

acid_kewpie 09-22-2006 01:32 PM

yes, shitty DNS looks like the culprit here...

booyaadewd 09-22-2006 01:58 PM

cat /etc/resolv.conf

are your dns servers listed there? If your behind a linksys router, use your router as the dns server.

As for firewall you can at bash
yast2 firewall then turn it off.

Try doing IPTABLES -F then dig www.google.com

If that doesnt work, try doing rcnetwork restart after the iptables.

galrub 09-22-2006 05:50 PM

tried your stuff... nothing yet, here is some information
 
basic things I checked:
a)the internet provider gives an IP and the DNS (new every time).
b)in the router (aztech 600E) the firewall is off, and DHCP is set to automaticly get whatever it needs.
c) i notice that sometime it will go into the novel website and sometimes not. I even got to this site once, as I tried moving in the site it gave me the "Unable" massage again and didn't go back. reopening the browser didn't help... it just got worst.

here we go, the iptables output(a lot):

Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
62 3902 ACCEPT all -- lo any anywhere anywhere
33391 13M ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED
19 2286 input_ext all -- eth0 any anywhere anywhere
0 0 input_ext all -- any any anywhere anywhere
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-IN-ILL-TARGET '
0 0 DROP all -- any any anywhere anywhere

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWD-ILL-ROUTING '

Chain OUTPUT (policy ACCEPT 5 packets, 240 bytes)
pkts bytes target prot opt in out source destination
63 3942 ACCEPT all -- any lo anywhere anywhere
31979 1855K ACCEPT all -- any any anywhere anywhere state NEW,RELATED,ESTABLISHED
5 240 LOG all -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-OUT-ERROR '

Chain forward_ext (0 references)
pkts bytes target prot opt in out source destination

Chain input_ext (2 references)
pkts bytes target prot opt in out source destination
5 1193 DROP all -- any any anywhere anywhere PKTTYPE = broadcast
0 0 ACCEPT icmp -- any any anywhere anywhere icmp source-quench
0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp echo-reply
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp destination-unreachable
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp time-exceeded
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp parameter-problem
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp timestamp-reply
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp address-mask-reply
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp protocol-unreachable
0 0 ACCEPT icmp -- any any anywhere anywhere state RELATED,ESTABLISHED icmp redirect
0 0 LOG tcp -- any any anywhere anywhere limit: avg 3/min burst 5 tcp dpt:http flags:FIN,SYN,RST,ACK/SYN LOG leve l warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:http
0 0 LOG tcp -- any any anywhere anywhere limit: avg 3/min burst 5 tcp dpt:ssh flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '
0 0 ACCEPT tcp -- any any anywhere anywhere tcp dpt:ssh
0 0 reject_func tcp -- any any anywhere anywhere tcp dpt:ident state NEW
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 5 PKTTYPE = multicast LOG level warning tcp-optio ns ip-options prefix `SFW2-INext-DROP-DEFLT '
0 0 DROP all -- any any anywhere anywhere PKTTYPE = multicast
0 0 LOG tcp -- any any anywhere anywhere limit: avg 3/min burst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '
0 0 LOG icmp -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '
14 1093 LOG udp -- any any anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '
0 0 LOG all -- any any anywhere anywhere limit: avg 3/min burst 5 state INVALID LOG level warning tcp-options ip- options prefix `SFW2-INext-DROP-DEFLT-INV '
14 1093 DROP all -- any any anywhere anywhere

Chain reject_func (1 references)
pkts bytes target prot opt in out source destination
0 0 REJECT tcp -- any any anywhere anywhere reject-with tcp-reset
0 0 REJECT udp -- any any anywhere anywhere reject-with icmp-port-unreachable
0 0 REJECT all -- any any anywhere anywhere reject-with icmp-proto-unreachable

----------------------------------------------
Here is the resolve.conf I get:

linux-zsnc:/etc # cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 10157
#
#
### END INFO
#
linux-zsnc:/etc #

galrub 09-22-2006 05:56 PM

P.s.
 
had to copy all this data to a file, go into winXP and send it... and this is begining to be quit a bommer :mad:

anyhow,
thanx for all your help, really, lets try to solve it,
I am probobly missing something.

ohh, yes, I am a :newbie:

acid_kewpie 09-22-2006 05:58 PM

right, we've already seen that it's dns... not firewalls or anything from what we can see... we saw you can't curl google.. can you ping it? dig it? resolv.conf clearly has no dns servers listed there...

w3bd3vil 09-22-2006 08:31 PM

on win,do a ipconfig /all and copy the dns servers and paste them to /etc/resolv.conf. everything should work fine after that.

galrub 09-23-2006 08:22 AM

noop
 
well... from ipconfig I got :

Physical Address. . . . . . . . . : 00-0C-6E-73-04-22
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.1
Subnet Mask . . . . . . . . . . . : 255.0.0.0
Default Gateway . . . . . . . . . : 10.0.0.138
DHCP Server . . . . . . . . . . . : 10.0.0.138
DNS Servers . . . . . . . . . . . : 10.0.0.138

and I changed the DNS on linux.
now, when I check the network information (via the icon on the right side, down) i get the same numbers accepts there is also a Broadcast Address 10.255.255.255... don't know what that address is for.

I did curl and got this:

linux-zsnc:~ # curl -v www.novel.com
* About to connect() to www.novel.com port 80
* Trying 1.0.0.0... No route to host
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host

can we fix that "No route..."?

thanx.

acid_kewpie 09-23-2006 08:35 AM

you appear to have fundamentally changed your network settings. all you need do is add name servers to resolv.conf, nothing more nothing less.

galrub 09-23-2006 09:12 AM

ehh. got a nameserver line, still nothing
 
well,

in the /etc/resolv.conf file there is 1 line:

nameserver 10.0.0.138

(same as DNS)

still get the same answer from curl.

thanx


All times are GMT -5. The time now is 02:05 AM.