From owner-freebsd-questions@FreeBSD.ORG Wed Jun 16 19:37:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55D9C16A4CE for ; Wed, 16 Jun 2004 19:37:12 +0000 (GMT) Received: from smtp.ibctech.ca (shadow2.eagle.ca [209.167.16.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6B9F43D46 for ; Wed, 16 Jun 2004 19:37:11 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 40310 invoked by uid 1003); 16 Jun 2004 19:36:38 -0000 Received: from iaccounts@ibctech.ca by smtp.ibctech.ca by uid 89 with qmail-scanner-1.20 (clamscan: 0.65. spamassassin: 2.60. Clear:RC:1(127.0.0.1):. Processed in 0.035065 secs); 16 Jun 2004 19:36:38 -0000 Received: from unknown (HELO webmail.ibctech.ca) (127.0.0.1) by localhost.northnetworks.ca with SMTP; 16 Jun 2004 19:36:38 -0000 Received: from 209.167.16.15 (SquirrelMail authenticated user steve@ibctech.ca) by webmail.ibctech.ca with HTTP; Wed, 16 Jun 2004 15:36:38 -0400 (EDT) Message-ID: <3916.209.167.16.15.1087414598.squirrel@webmail.ibctech.ca> In-Reply-To: <1087414290.3806.21.camel@h163n2fls22o18.bredband.comhem.se> References: <1087402545.3828.28.camel@h163n2fls22o18.bredband.comhem.se> <40D0833C.8090609@elvandar.org> <1087409829.3806.22.camel@h163n2fls22o18.bredband.comhem.se> <3748.209.167.16.15.1087409938.squirrel@webmail.ibctech.ca> <1087414290.3806.21.camel@h163n2fls22o18.bredband.comhem.se> Date: Wed, 16 Jun 2004 15:36:38 -0400 (EDT) From: "Steve Bertrand" To: jobse@yapost.com User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal cc: Steve Bertrand cc: freebsd-questions@freebsd.org Subject: Re: newbie trouble - Internet connection X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 19:37:12 -0000 > I am connected through Cabel. I don't have resolv.conf, thats for sure. > Pinging looked fine. > > netstat -rn gave (briefly). > destination: Gateway: > > default 213.64.3.1 vr0 > 213.64.3 ... > ... ... > 213.64.3.[myIP] 127.0.0.1 lo0 Good. It appears as though DHCP is working (hence having a default gateway), so as someone else already suggested, call up the ISP, ask them what the DNS servers are and create a new file (/etc/resolv.conf), and add the following lines to it: search isp-domain.com nameserver ip-of-dns-server1 nameserver ip-of dns-server2 save the file and now try to: # ping google.ca and or: # dig google.ca Cheers, Steve > > Thanks > > > > > > > ons 2004-06-16 klockan 20.18 skrev Steve Bertrand: >> > Well, I have no DNS installed, no server at all actually and I use >> > mozilla when connecting. The problem is not the browser, right? >> Perhaps >> > a firewall as you mentioned, or, the file /etc/hosts... hosts.allow? >> >> I may have missed something, but how do you connect to your ISP? Dial-up >> ppp, PPPoE (DSL), Cable etc? >> >> Do you have a gateway device at your location? What is the output of the >> following: >> >> # ping 127.0.0.1 >> # ping localhost >> >> What is the 'default' entry say when you do: >> >> # netstat -rn >> >> Next, what is the output of the following command?: >> >> # cat /etc/resolv.conf >> >> Regards, >> >> Steve >> >> > >> >> >> > >> > >> > >> > ons 2004-06-16 klockan 19.28 skrev Remko Lodder: >> >> Hey Jobse, >> >> >> >> >> >> jobse wrote: >> >> >> >> > Hello! >> >> > Having trouble with getting my internet connection to work under >> >> FreeBSD >> >> > 5.2.1, although it works well under Fedora. >> >> > Am abel to connect to host(my ISP) and I am getting login/logout >> >> prompt >> >> > with statics about uptime etc. However I cannot get to >> >> > any Internet site. My ISP havent got a clue they say, they don't >> >> provide >> >> > support for OS:s other than windows -major drag btw. >> >> > >> >> > thanks >> >> > jobse >> >> >> >> Most ISP's do that, since most users have Windows. >> >> Did you turnon any dns servers? >> >> if not then that might cause you having issues connecting to other >> >> sites. >> >> >> >> How do you connect to host (your ISP) ? ssh $ip-addr-ISP or a browser >> >> pointing to http://$ip-addr-of-ISP. >> >> >> >> Do you use a Firewall? >> >> >> >> etc >> >> >> >> Hth, >> >> >> >> > >> >> >> > >> > _______________________________________________ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to >> > "freebsd-questions-unsubscribe@freebsd.org" >> > >> >> >> >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > --