LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2006, 03:54 PM   #1
galrub
Member
 
Registered: Sep 2006
Posts: 41

Rep: Reputation: 15
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
 
Old 09-21-2006, 09:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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"?
 
Old 09-21-2006, 10:16 AM   #3
lostn1slinux
Member
 
Registered: Nov 2005
Distribution: Suse, Debian, Ubuntu, Mandriva, DSL, Fedora, Redhat Entrerprise
Posts: 113

Rep: Reputation: 15
do you have all of your plug-ins and java support downloaded and installed for firefox?
 
Old 09-21-2006, 10:23 AM   #4
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
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.
 
Old 09-22-2006, 12:12 PM   #5
galrub
Member
 
Registered: Sep 2006
Posts: 41

Original Poster
Rep: Reputation: 15
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
 
Old 09-22-2006, 12:26 PM   #6
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
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
 
Old 09-22-2006, 12:32 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yes, shitty DNS looks like the culprit here...
 
Old 09-22-2006, 12:58 PM   #8
booyaadewd
LQ Newbie
 
Registered: Sep 2006
Posts: 9

Rep: Reputation: 0
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.
 
Old 09-22-2006, 04:50 PM   #9
galrub
Member
 
Registered: Sep 2006
Posts: 41

Original Poster
Rep: Reputation: 15
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 #
 
Old 09-22-2006, 04:56 PM   #10
galrub
Member
 
Registered: Sep 2006
Posts: 41

Original Poster
Rep: Reputation: 15
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

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

ohh, yes, I am a
 
Old 09-22-2006, 04:58 PM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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...
 
Old 09-22-2006, 07:31 PM   #12
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
on win,do a ipconfig /all and copy the dns servers and paste them to /etc/resolv.conf. everything should work fine after that.
 
Old 09-23-2006, 07:22 AM   #13
galrub
Member
 
Registered: Sep 2006
Posts: 41

Original Poster
Rep: Reputation: 15
Thumbs down 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.
 
Old 09-23-2006, 07:35 AM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you appear to have fundamentally changed your network settings. all you need do is add name servers to resolv.conf, nothing more nothing less.
 
Old 09-23-2006, 08:12 AM   #15
galrub
Member
 
Registered: Sep 2006
Posts: 41

Original Poster
Rep: Reputation: 15
Thumbs down 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tools for developing C# web service and web sites in Linux woodbase Linux - Software 3 08-10-2006 01:28 PM
samba browsing blocked by iptables script ozric99 Linux - Security 4 10-27-2005 07:27 AM
Personal web server for testing web sites? Ariod Linux - Newbie 12 09-29-2005 04:30 PM
mozilla not browsing ftp sites kabads Linux - Software 0 09-04-2003 04:41 AM
Browsing arabic web sites safrout Linux - Newbie 1 03-19-2002 01:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration