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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-20-2006, 03:54 PM
|
#1
|
|
Member
Registered: Sep 2006
Posts: 41
Rep:
|
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
|
|
|
|
09-21-2006, 09:16 AM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
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"?
|
|
|
|
09-21-2006, 10:16 AM
|
#3
|
|
Member
Registered: Nov 2005
Distribution: Suse, Debian, Ubuntu, Mandriva, DSL, Fedora, Redhat Entrerprise
Posts: 113
Rep:
|
do you have all of your plug-ins and java support downloaded and installed for firefox?
|
|
|
|
09-21-2006, 10:23 AM
|
#4
|
|
Member
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 977
Rep:
|
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 here so
I can try to tell you how to setup your /etc/fstab to read files from NTFS.
|
|
|
|
09-22-2006, 12:12 PM
|
#5
|
|
Member
Registered: Sep 2006
Posts: 41
Original Poster
Rep:
|
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
|
|
|
|
09-22-2006, 12:26 PM
|
#6
|
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189
Rep:
|
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
|
|
|
|
09-22-2006, 12:32 PM
|
#7
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
yes, shitty DNS looks like the culprit here...
|
|
|
|
09-22-2006, 12:58 PM
|
#8
|
|
LQ Newbie
Registered: Sep 2006
Posts: 9
Rep:
|
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.
|
|
|
|
09-22-2006, 04:50 PM
|
#9
|
|
Member
Registered: Sep 2006
Posts: 41
Original Poster
Rep:
|
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 #
|
|
|
|
09-22-2006, 04:56 PM
|
#10
|
|
Member
Registered: Sep 2006
Posts: 41
Original Poster
Rep:
|
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 
|
|
|
|
09-22-2006, 04:58 PM
|
#11
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
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...
|
|
|
|
09-22-2006, 07:31 PM
|
#12
|
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189
Rep:
|
on win,do a ipconfig /all and copy the dns servers and paste them to /etc/resolv.conf. everything should work fine after that.
|
|
|
|
09-23-2006, 07:22 AM
|
#13
|
|
Member
Registered: Sep 2006
Posts: 41
Original Poster
Rep:
|
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.
|
|
|
|
09-23-2006, 07:35 AM
|
#14
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,830
|
you appear to have fundamentally changed your network settings. all you need do is add name servers to resolv.conf, nothing more nothing less.
|
|
|
|
09-23-2006, 08:12 AM
|
#15
|
|
Member
Registered: Sep 2006
Posts: 41
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|