ISP connection issue

2005-02-07 Thread Shawn B
I am fairly new at *nix and FreeBSD. I am attempting
to run a privately owned, publically accessible web
server from a PC running FreeBSD 4.8. I configured
ppp.conf and rc.conf for the *old* ISP settings (the
ones that worked a year ago), and now they do now
work. I cannot connect the machine to the ISP.
Although PPP does enable, I cannot resolve any
domains. The ISP is Bell-Sympatico (Canada), and they
are completely unwilling to help me, or provide
software that will accommodate *nix systems
specifically. They do, however, have PPPoE software
for Linux. Since I am new to FreeBSD, I do not want to
try this software unless I know it will work ok. The
software is available here
http://service.sympatico.ca/index.cfm?method=content.viewcontent_id=1138category_id=99

I have tried every possible option I could conjure-up
with no avail. I have even exhaustively searched the
FreeBSD Handbook and Man pages on-line, and other
resources (such as Google) were no help.

I thank you for any help yous' may provide to me. I am
running short on time and patience in getting this
system on-line. If this should have been send
elsewhere, please let me know. 

__ 
Post your free ad now! http://personals.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ISP connection issue

2005-02-07 Thread Roland Smith
On Mon, Feb 07, 2005 at 03:06:25PM -0500, Shawn B wrote:
 I am fairly new at *nix and FreeBSD. I am attempting
 to run a privately owned, publically accessible web
 server from a PC running FreeBSD 4.8. I configured

Maybe a bit OT, but you should consider upgrading to the latest release,
especially on a machine accessible from the internet.

Check your agreement with the ISP. Some ISPs expressly forbid you to
run a server, or they might require you to ask permission first. You'll
probably need a static IP address and a DNS record for your machine to
be accessible.

If you're new to FreeBSD and UNIX I'd recommend setting up and
administrating your own workstation for a while before setting up and
maintaining a publicly accessible webserver.

If you're only going to administer your machine from the console (which
is preferable, IMHO), disable all external access, e.g. by putting
something like -:ALL:ALL EXCEPT LOCAL as the only rule in
/etc/login.access. Do not run sshd, and certainly not telnet. In fact
disable all servers that you do not need, and close all ports (via the
firewall) except the ports needed for a web-server (port 80 and
what-have-you). Run the webserver in a jail.

 ppp.conf and rc.conf for the *old* ISP settings (the
 ones that worked a year ago), and now they do now
 work. I cannot connect the machine to the ISP.
 Although PPP does enable, I cannot resolve any
 domains.

Can you reach other hosts by IP address? If so, it's probably just a
question of telling your system where to find the nameservers:

Add one or two nameserver lines to /etc/resolv.conf. I.e. lines
that consist of the word nameserver followed by the IP address of the
nameserver (seperated by whitespace). IIRC, you should also add or
change the hosts line in /etc/nsswitch.conf to read hosts: files dns.

 The ISP is Bell-Sympatico (Canada), and they
 are completely unwilling to help me, or provide
 software that will accommodate *nix systems
 specifically.

Most ISP's helpdesks I've dealt with are somewhat clueless WRT anything
but Windows. Maybe if you can get through one of their networking guys
(who'll probably be running some kind of UNIX) you might get some more
meaningfull answers.

 I have tried every possible option I could conjure-up
 with no avail. I have even exhaustively searched the
 FreeBSD Handbook and Man pages on-line, and other
 resources (such as Google) were no help.

See e.g. §11.10 in the manual on configuration files, especially §11.10.2.

HTH, Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpkIQo2d4tup.pgp
Description: PGP signature


Re: ISP connection issue

2005-02-07 Thread Rick Fournier
You dont need any software from sympatico, you can use ppp from FreeBSD to do 
pppoe. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html

make sure your username ends with @sympatico.ca, then make sure you get valid 
sympatico DNS servers in your /etc/resolv.conf file.

-- I worked at sympatico once, their real bitches about unix/linux support, 
and to think the guy from roaring penguin who wrote the linux pppoe client 
onced worked for them. they should at least recommend that one! --

-Rick

On February 7, 2005 03:06 pm, Shawn B wrote:
 I am fairly new at *nix and FreeBSD. I am attempting
 to run a privately owned, publically accessible web
 server from a PC running FreeBSD 4.8. I configured
 ppp.conf and rc.conf for the *old* ISP settings (the
 ones that worked a year ago), and now they do now
 work. I cannot connect the machine to the ISP.
 Although PPP does enable, I cannot resolve any
 domains. The ISP is Bell-Sympatico (Canada), and they
 are completely unwilling to help me, or provide
 software that will accommodate *nix systems
 specifically. They do, however, have PPPoE software
 for Linux. Since I am new to FreeBSD, I do not want to
 try this software unless I know it will work ok. The
 software is available here
 http://service.sympatico.ca/index.cfm?method=content.viewcontent_id=1138c
ategory_id=99

 I have tried every possible option I could conjure-up
 with no avail. I have even exhaustively searched the
 FreeBSD Handbook and Man pages on-line, and other
 resources (such as Google) were no help.

 I thank you for any help yous' may provide to me. I am
 running short on time and patience in getting this
 system on-line. If this should have been send
 elsewhere, please let me know.

 __
 Post your free ad now! http://personals.yahoo.ca
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-isp
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Rimasec Internet Services
www.rimasec.net / [EMAIL PROTECTED]
phone: (514) 998-7830 / fax: (514) 998-7130

Owner  Systems Administrator / Rick Fournier ([EMAIL PROTECTED])
GnuPG / PGP Key: 31846E22 (http://www.rimasec.net/keys/rick.asc)
Key Fingerprint: B1E3 AE2E C867 F491  BF9F 9485 7818 122D 3184 6E22


pgp9KFlaAaqXY.pgp
Description: PGP signature


Re: ISP connection issue

2005-02-07 Thread mario

So, Shawn B wrote:
 I am fairly new at *nix and FreeBSD. I am attempting
 to run a privately owned, publically accessible web
 server from a PC running FreeBSD 4.8. I configured
 ppp.conf and rc.conf for the *old* ISP settings (the
 ones that worked a year ago), and now they do now
 work. I cannot connect the machine to the ISP.
 Although PPP does enable, I cannot resolve any
 domains. The ISP is Bell-Sympatico (Canada), and they
you mean you can connect? can you ping their gateway ip.
domain resolution is done via dns. You need to add the dns server address
they provide to your /etc/resolv.conf file by hand, or run your own
dnscache.
i guess PPPoE only provides a gateway address which is handled by
 add default HISADDR
below.

 are completely unwilling to help me, or provide
 software that will accommodate *nix systems
sounds like SBC

 specifically. They do, however, have PPPoE software
 for Linux. Since I am new to FreeBSD, I do not want to

ppp does pppoe out of the box. Here's mine
[quote]
default:
# this was my old pacbell sbc account dynamic ip nunber
# my nic card is ed0
pacbell:
 set log Phase tun command
 set ifaddr 10.10.0.1/0 10.10.0.2/0
 set timeout 0
# my nic card is ed0
 set device PPPoE:ed0
 set authname [EMAIL PROTECTED]
 set authkey mypass
 set dial
 set login
 add default HISADDR

# nowadays i have static numbers hence this works
speakeasy:
set log Phase Chat LCP IPCP CCP tun command
set device /dev/cuaa1
set speed 115200
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
 \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
set timeout 180
set phone 240 9004
set authname myaccount
set authkey mypasswd
set login TIMEOUT 10 \\ \\ gin:--gin: \\U word: \\P
add default HISADDR
[/quote]

 I have tried every possible option I could conjure-up
 with no avail. I have even exhaustively searched the
 FreeBSD Handbook and Man pages on-line, and other
 resources (such as Google) were no help.

you mean here?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html
then
[snip]
21.5.3 Running ppp
As root, you can run:
# ppp -ddial name_of_service_provider
[/snip]

That would translate into
ppp -ddial pacbell
or
ppp -ddial speakeasy

 I thank you for any help yous' may provide to me. I am
 running short on time and patience in getting this
 system on-line. If this should have been send
 elsewhere, please let me know.
cross posting is generally frowned upon


mario;

Micro$oft is nice, as long as it's not required.
We Can Put an End to the Requirement:
http://www.fsf.org/philosophy/no-word-attachments.html
B.T.W. do YOU schmut!?   --|--   http://www.schmut.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ISP connection issue

2005-02-07 Thread mario
So, mario wrote:
 # nowadays i have static numbers hence this works
 speakeasy:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa1
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
  \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40
 CONNECT
 set timeout 180
 set phone 240 9004
 set authname myaccount
 set authkey mypasswd
 set login TIMEOUT 10 \\ \\ gin:--gin: \\U word: \\P
 add default HISADDR
scrap this!! that is my dial up fallback account :o


mario;

Micro$oft is nice, as long as it's not required.
We Can Put an End to the Requirement:
http://www.fsf.org/philosophy/no-word-attachments.html
B.T.W. do YOU schmut!?   --|--   http://www.schmut.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ISP connection issue

2005-02-07 Thread Rick Fournier
Their RADIUS servers *should* assign DNS addresses automatically...

-Rick

On February 7, 2005 04:59 pm, mario wrote:
 you mean you can connect? can you ping their gateway ip.
 domain resolution is done via dns. You need to add the dns server address
 they provide to your /etc/resolv.conf file by hand, or run your own
 dnscache.
 i guess PPPoE only provides a gateway address which is handled by
  add default HISADDR
 below.

-- 
Rimasec Internet Services
www.rimasec.net / [EMAIL PROTECTED]
phone: (514) 998-7830 / fax: (514) 998-7130

Owner  Systems Administrator / Rick Fournier ([EMAIL PROTECTED])
GnuPG / PGP Key: 31846E22 (http://www.rimasec.net/keys/rick.asc)
Key Fingerprint: B1E3 AE2E C867 F491  BF9F 9485 7818 122D 3184 6E22


pgpIbPPGPtOad.pgp
Description: PGP signature