Defcon-1-Logo

           [Home]    [FBSD Articles]    [Scripts Corner]    [Contribute]    [Search]    [FBSD Links]    [Files]

About Us

FreeBSD Articles
  *Hardware
  *Networking
  *Security
  *Software
  *X Windows


Files / Scripts
Newbies Corner
Tech. Talk
Tips and Tricks


FreeBSD Links

Articles in other
Languages :
  *French Articles
  *Spanish Articles

Want to Help ?
 
   Click Here

Email Users 5

Search:
 

 


FreeBSD Search:


 

 

Powered-By-Apache-Logo

Internet Cable connection setup w/ Telenet/Pandora (Belgium)

Telenet sucks, their lame support team does not support Linux and they
hardly know about FreeBSD.

But no matter, it's very easy to setup the connection with FreeBSD 4.4 or
later in less than 5 minutes. So easy that it would almost make you be
ashamed, and your neighbour who spends 1 hour messing with Windows to get
it to work, jealous.

To install a single FreeBSD system with Pandora, it's very simple. # run
/stand/sysinstall, make sure your network card is recognized. Allow
automatic DHCP configuration, then quit and save. The system will auto
DHCP at each boot. Make sure you have the following lines in /etc/rc.conf:

sendmail_enable="YES"
ifconfig_rl0="DHCP"

** note: rl0 is for realtek chipsets; it should be replace by eth0 with
ethernet cards.

hostname="whatever_your_computer_name_is.pandora.be"
the following must sit in /etc/resolv.conf:

domain pandora.be
nameserver   195.130.132.18

Don't forget to put this in /etc/make.conf if you use /usr/ports:

FTP_PROXY=ftp://proxy.pandora.be:8080
HTTP_PROXY=http://proxy.pandora.be:8080

And you're set. if you get errors downloading files from a ftp for ports
from a x terminal that you su'd to root on, login as root from a tty
(ctrl-alt-f1 to 8) and try again. some unsecure virtual tty's may have a
hard time using the proxy if the system isn't well configured.

now install fetchmail and pine from ports. setup fetchmail with
fetchmailconf or edit the configuration file, ~/.fetchmailrc, like this:

---
set logfile "/home/your_system_user_login/.fetchmaillog"
set postmaster "your_system_user_login"
set bouncemail
set no spambounce
set properties ""
set daemon 60
poll pop.pandora.be with proto POP3
    user '[your telenet login]' there with password '[your telenet
password ... like i'm foolish enough to leave it !]' is '[your system user
login]' here
---

set fetchmail to launch itself at each boot so you retrieve your mail
automatically even when you're not logged in. as user, type:

crontab -e

and drop in:

@reboot /usr/local/bin/fetchmail > /dev/null 2>&1

note than in FreeBSD 4.6 and later, sendmail doesn't start anymore by
default. if it doesn't, you can load it by putting it in /etc/rc.local,
for example:

/usr/sbin/sendmail -bd

now load pine as user and edit the config:

personal-name      = your system user login or whatever.

note: if your system user login name doesn't match your main e-mail alias,
you have to use the customized-hdrs field to modify the From: field.
example: customized-hdrs = From: la hache <lah@pandora.be>

user-domain       = pandora.be
smtp-server       = smtp.pandora.be

the rest is up to you. don't forget to put all your email aliases in
alt-addresses section.

to use irc, install irssi or BitchX from ports and enjoy yourself.

To browse the web, put this in your browser's configuration setup:

proxy.pandora.be on port 8080 for http and ftp.

the best ftp client by far is ncftp. you can install it from ports too. if
you want to explode your quota, install from ports gtk-gnutella.

to find out where a port is located, do # cd /usr/ports and type: whereis
[portname]. it's pretty much intuitively sorted, tho.

enjoy.

la hache <lah@pandora.be>

Email Us

ghostrdr@defcon1.org

This site cannot be duplicated without permission

© 1998 - 2010 Defcon1, www.defcon1.org. Copyrights for all materials on this web site are held by the individual authors, artists, photographers or creators. Materials may not be reproduced or otherwise distributed without permission of www.defcon1.org and the content's original author.