Desktop FreeBSD Part 9: FreeBSD and Broadband

By Ed Ed | Posted at 22:10

Of all the tasks in FreeBSD, setting up a broadband connection is probably one of the easiest. All the various BSDs are built around networking, and most broadband connections operate pretty much like an extended LAN, using the same hardware, often called an "ethernet" connection: something that looks like fat phone lines, which plug into similarly fat-looking sockets which resemble telephone jacks.

If you are paying attention during initial installation, you'll see an opportunity to setup networking. If you miss it, you can always go back to the installer by invoking on the commandline (logged in as root): /usr/sbin/sysinstall. On the menu that opens, look for Configuration, which allows you to make changes after installation. On the next menu, select Interfaces, which brings you to the same window you get when you say "yes" to that option during the installation.

At this point, you will be presented with a list of interfaces which FreeBSD has detected. These interfaces are a combination of letter abbreviations followed by a number, always starting with zero. If there is only one of each interface, each will have a zero on the end. If your machine possess anything resembling a serial port, FreeBSD assumes it can be used for networking, calling it a plip interface. FreeBSD also assumes you could have a dialup modem on the machine somewhere, and will offer a ppp interface, as well as the older sl (slip) interface, but you aren't likely to be using that.

If FreeBSD can detect an ethernet device or wireless device, it will offer one of a long list of interfaces usually identified by a two- or three-letter code. For example, a standard wireless card on a laptop will be labeled as wi0, and a second one would be wi1, and so forth. The "wi" means wireless. Most of the time, the interface abbreviation will be based on the chipset used. An example would be the "rl" (lowercase RL) interface, which indicates RealTek 8129/8139 chips. The list of possible abbreviations is quite long. If you see anything beyond the standard interfaces listed previously, FreeBSD has decided it found something it knows how to use. If you know you have an ethernet device and FreeBSD doesn't see it, you'll have to research loading the driver module manually, and there's no room to cover that here. Rest assured, FreeBSD has a driver for most ethernet hardware.

When you have determined which item is your broadband connection interface, use the arrow keys to highlight the item and hit ENTER. Running through the scripted process, sysinstall will ask a series of questions. Unless you know, you can usually accept the default answer on each one. Most broadband services require you to use something called DHCP, a protocol whereby your computer periodically asks the ISP to supply an IP address it should use when connecting to the Internet. If your broadband provider says you need DHCP, make sure to answer "yes" to that question. The last thing you'll see is a gray page with blocks to be filled.

We discuss elsewhere the Host name you should give your machine (see #7 on that page). To summarize, unless your provider has told you what to use, it's best to choose something fake, something that is not recognized on the Internet as a valid machine name. I recommend you choose a simple four- to eight-letter nickname, followed by a dot, then local.bsd. My own machine at this time is crunch.local.bsd. Most likely the rest of the blocks will be filled in, especially if your machine is already plugged into a working broadband connection. If not, it's okay to leave the other blocks blank. By using DHCP, most details are taken care of automatically.

Once you are finished, hit the TAB key until you highlight the OK button and hit ENTER If you are still in the initial installation of FreeBSD, the last question should be asking if you want to bring up that interface. Unless you have a good reason not to, you'll probably want to say "yes" to that. You should also see some questions about whether this machine will serve as a gateway, FTP server, etc. These are outside the scope of this tutorial, so I'll advise you to say "no" to everything.

If your connection does not have a router, or a smart modem which serves as a router, you may need a firewall. The firewall you'll use for your broadband service is similar to the dialup firewall with exceptions as noted. Those include the line which identifies your outside interface has to change to match the interface you configured above. For mine, that line near the top of the firewall file looks like this:

oif="vr0"

There is also an extensive discussion in the tutorial about determining if you are using a connection which places you on a virtual LAN, and what the IP range is for that. This matters only when your machine is sharing a connection with Windows machines. By opening your firewall to permit traffic from those within the internal IP range, you aren't actually risking much. However, the noise they make on a LAN will fill up your firewall logs pretty fast.

Halfway down, just above the line which says:

# Allow all local traffic

we need to add a new section:

# Allow all connections within our network.
$fwcmd add allow ip from any to 192.168.1.0/24
$fwcmd add allow ip from 192.168.1.0/24 to any

Please note these numbers are based on information I got from my DSL provider (AT&T Yahoo). Simply ask what internal IP range is used on your connection.

Everything else in your /etc/firewall.conf should be the same as the example. To engage the firewall, as root go to the commandline and type:

/etc/netstart

and hit ENTER. You should see a response indicating the firewall has been loaded, with the rules listed in numerical order. At that point, you should be online and ready to go.

Should you experience trouble connecting, it won't be a disaster to turn off the firewall for a time by commenting out in your /etc/rc.conf file every line that begins with "firewall" by inserting a hashmark (#) at the beginning. Rerun the netstart command as above and try again. Then join any one of several BSD forums and ask for help. I recommend Screaming Electron, but there are others.

Ed Hurst is Associate Editor of Open for Business.

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

plip is for parallel port internet, not serial. man plip for more info.

Posted by Dan Mahoney - Dec 9, 2007 | 7:10

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Sysinstall only takes care of the interface. Unless you provide a valid rc.conf/ppp.conf you're not going to connect to anything.

Posted by Anonymous - Nov 13, 2007 | 11:04

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thank you, Anonymous. We cover those items elsewhere in the series, this being Part 9.

Posted by Ed Hurst - Nov 14, 2007 | 19:35

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband
Posted by Masken - Nov 16, 2007 | 18:55

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Due to higher latencies would you suggest any stack tuning for broadband connections? Maybe increase the incoming buffer space?

Posted by Kevin Dierking - Nov 17, 2007 | 6:57

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Generally, no tweaking is needed; things take care of themselves. YMMV, of course.

Posted by Kevin Kinsey - Nov 23, 2007 | 21:42

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

With firewall tuning showed in Desktop FreeBSD Part 2 it is impossible for client to download from ftp server. To help this people should use passive mode.

Posted by Natasha Johnson - Feb 8, 2008 | 12:46

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

What about mobile brodaband?

Posted by Andrius - Apr 10, 2012 | 11:26

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Andrius, this article was written five years ago, and some months behind the date that version of FreeBSD was released. At this point you really need to use a search engine to find out if FreeBSD has drivers for any of the mobile broadband devices commonly used these days.

Posted by Ed Hurst - Apr 11, 2012 | 0:48

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Outstanding internet site you might have the following, a great deal great details!..

Posted by buy Instagram followers - Apr 17, 2017 | 9:22

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Why not remain this unique amazing give good results not to mention I just await further with the fantastic blog posts.

Posted by Asthma - Apr 17, 2017 | 10:39

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

There are several dissertation internet sites on-line because you get evidently reported as part of your web site.

Posted by matcha thee - Apr 18, 2017 | 11:49

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I actually checked right up your website considering Concerning listened to a great deal of pertaining to a person's discussions. Grateful to talk about, a gossip very well; you will be okay around this. I require a strong to aid people for your permanent job We're perfecting. Possible never examine any blogs and forums hence I hope you may would suggest a person in the near future or only instantly to people.

Posted by Live Trading Room - Apr 18, 2017 | 12:26

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

It's at the same time a decent place which i extremely savored browsing. Isn't day to day that provide the prospect to observe an item. China PCB Assembly

Posted by vip seo - Apr 19, 2017 | 8:17

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I really like all of the articles, I truly loved, I'd like more info relating to this, simply because it's very good., Many thanks with regard to discussing.

Posted by www.monmasque.com/16-accessoires - Apr 19, 2017 | 8:47

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

That appears to be clearly amazing. Most teeny specifics are using great deal of reputation encounter. So i am attached to the idea a good deal. Profits Infinity 2.0

Posted by vip seo - Apr 19, 2017 | 11:22

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Looking through a person's blogs and forums would make people prefer to publish progressively more. I did so your we appeared to be really happy by using. Them aren't executed to the place nonetheless it’s striking. I'll give you actually the hyperlinks so you're able to look at them to do allow me to explain imagination.

Posted by free movie download sites  - Apr 19, 2017 | 11:48

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Awesome content i have to tell you and additionally regards for those knowledge. Certification happens to be a sticky content. Still, 's still the contributing tips of our effort. Document recognize any content and additionally wait for a great deal more.

Posted by Profits Infinity - Apr 19, 2017 | 12:18

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

So i'm experienced an important create. It really is fabulous to establish most people will explain in words in the mood best of all opportunity at which will elementary area community are by and large in comfort noticed. Pareri

Posted by vip seo - Apr 20, 2017 | 8:59

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I'm keen on ones write-up. It truly is beneficial to discover people verbalize on the cardiovascular system in addition to understanding within this significant theme is usually simply discovered. guidance check out web page.

Posted by voyance par telephon - Apr 20, 2017 | 11:25

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

You're 1 really dependable weblog author. I am talking about, typically, writers come up with problems and also the data they provide isn't because useful. A person however; all you state writing instruments away. Your own suggestion with regard to using for example had been the very best. This website is ideal!

Posted by what is full stack design - Apr 20, 2017 | 11:50

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Please continue this great work and I look forward to more of your awesome blog posts. tips

Posted by vip seo - Apr 22, 2017 | 13:12

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Please continue this great work and I look forward to more of your awesome blog posts. tips

Posted by vip seo - Apr 22, 2017 | 13:12

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. Tax Accountants

Posted by vip seo - Apr 23, 2017 | 6:22

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

The job you need to do is extremely very easily shown inside your blogs; you're a genuine expert. I'd like to include an additional website towards the suggested types a person discussed a week ago. Request your own visitors to look at world wide web.

Posted by wells fargo online banking - Apr 23, 2017 | 22:07

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

You completed a few fine points there. I did a search on the subject and found nearly all persons will go along with with your blog. Florence vespa rentals

Posted by vip seo - Apr 24, 2017 | 9:43

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Great things you’ve always shared with us. Just keep writing this kind of posts.The time which was wasted in traveling for tuition now it can be used for studies.Thanks http://www.prunderground.com/flat-belly-drink-loophole-review-important-information-released-by-thehealthdiaries/0091391/

Posted by vip seo - Apr 27, 2017 | 7:13

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks… Relationship Eguide

Posted by vip seo - Apr 29, 2017 | 6:01

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people. Accountants Crawley

Posted by vip seo - Apr 29, 2017 | 9:09

nailiter

Immediately the following superb web-site will obviously unquestionably remain celebrated between a lot of crafting your site both males and females, for any meticulous subject material and customer feedback.

Posted by nha cap 4 dep - Apr 29, 2017 | 10:53

crocklenss

I adore each strings, That i savored, It's safe to really love a great deal more material utilizing this type of, due to the fact it is actually extremely relaxing., Thankyou just for getting.

Posted by nha cap 4 dep  - Apr 29, 2017 | 10:58

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. GamerBolt.com

Posted by vip seo - Apr 30, 2017 | 6:58

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. 2WeekDietPlanToLoseWeight

Posted by vip seo - Apr 30, 2017 | 12:07

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

It is a great website.. The Design looks very good.. Keep working like that!. 7014 welding rod uses

Posted by vip seo - May 1, 2017 | 10:30

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing. Fear of Holes

Posted by vip seo - May 2, 2017 | 6:17

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Following reading through your own weblogs, We therefore wish to launch my very own essayteam too! Parrandon Vallenato en Cali

Posted by Dane Bale - May 2, 2017 | 9:45

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. Make Money Online Australia

Posted by vip seo - May 3, 2017 | 7:48

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Due to the nature of my business, I need to have some good hvac! And so, I got the rancho santa margarita hvac installed. Truly, I have not been any more happier with my decision!

Posted by Dane Bale - May 3, 2017 | 8:19

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I found this is an informative and interesting post so i think so it is very useful and knowledgeable. I would like to thank you for the efforts you have made in writing this article. Logan

Posted by vip seo - May 4, 2017 | 6:17

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Cool stuff you have got and you keep update all of us. Bеѕt Yоuth Bаѕеbаll Bats

Posted by vip seo - May 6, 2017 | 7:02

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

That's the reason it is best that you ought to appropriate investigation prior to composing. It is possible to create much better publish by doing this. Jual Wiremesh

Posted by Dane Bale - May 7, 2017 | 9:26

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

My group is definitely ideal within the application. Retain the strategies emerging; there’s normally living room designed for change for the better. 123MOVIES

Posted by Dane Bale - May 7, 2017 | 11:01

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I think this is a really good article. You make this information interesting and engaging. You give readers a lot to think about and I appreciate that kind of writing
192.168.0.1

Posted by 192.168.0.1 - May 7, 2017 | 18:51

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I am definitely enjoying your website. You definitely have some great insight and great stories. streaming TV tips

Posted by vip seo - May 8, 2017 | 8:37

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Some truly wonderful work on behalf of the owner of this internet site , perfectly great articles . Skirts

Posted by vip seo - May 8, 2017 | 12:23


Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. Cornerstone Pharmacy Brampton

Posted by vip seo - May 11, 2017 | 6:36

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Your reviewer rear decline of your respective websites is incredibly crystal clear. http://www.digitaljournal.com/pr/3340425

Posted by Atwood Aubrey - May 11, 2017 | 9:10

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I highly recommend you continue on the following superb deliver the results plus I actually look ahead to extra within your magnificent content. Epix Trader Review

Posted by Harper Manning - May 11, 2017 | 13:27

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I want to thank you for ones time due to this fantastic read! Always has really good posts and topics please keep it up …
eye care softgel
Very interesting article with great useful information. I am also sharing this article with my friends you have written excellent content. Thanks for sharing this kind of informative blog …

Posted by toniantonio - May 12, 2017 | 1:14







Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! Wireless Headphones

Posted by vip seo - May 13, 2017 | 12:46

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thank you for helping people get the information they need. Great stuff as usual. Keep up the great work!!! https://www.streetinsider.com/SI+Newswire/Abs+After+40+Review+-+Does+It+Really+Work%3F/11286194.html

Posted by vip seo - May 14, 2017 | 10:06

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I am definitely enjoying your website. You definitely have some great insight and great stories. https://www.streetinsider.com/SI+Newswire/Regrow+Hair+Protocol+Review%3A+Latest+Report+On+David+Mckennas+Program+Released/12642352.html

Posted by vip seo - May 16, 2017 | 8:10

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Instantly the site could indisputably get famed among the most of posting consumers, for its fastidious article content or simply critical reviews. http://physiotruomega.com

Posted by Dane Bale - May 17, 2017 | 15:46

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. Mijas properties

Posted by vip seo - May 18, 2017 | 12:32

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. http://www.ansonhistoric.org/nutrisystem-review/

Posted by vip seo - May 21, 2017 | 5:34

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. https://www.prunderground.com/physiotru-physio-omega-review-important-information-released-by-thehealthdiaries/0093788/

Posted by vip seo - May 22, 2017 | 6:57

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article… cheap designer bags uk

Posted by Skproduction - May 22, 2017 | 15:07

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

This is my first visit to your web journal! We are a group of volunteers and new activities in the same specialty. Website gave us helpful data to work. June 2017 Calendar Template

Posted by vip seo - May 23, 2017 | 15:36

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article… dropshipping with aliexpress

Posted by Skproduction - May 24, 2017 | 10:04

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. https://www.prunderground.com/complete-metabolism-review-important-information-released-by-thehealthdiaries/0093943/

Posted by vip seo - May 25, 2017 | 6:43

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

This is very interesting content! I have thoroughly enjoyed reading your points and have come to the conclusion that you are right about many of them. You are great. Best Near Me Website

Posted by vip seo - May 25, 2017 | 9:33

Re: Desktop FreeBSD Part 9: FreeBSD and Broadband

Checking any blog may make others just want to come up with a greater number of. I did a fabulous which i was first lovely content by means of. The software most likely conducted for the tier still it’s exceptional. posicionamiento seo

Posted by sadf - May 25, 2017 | 16:46

Please enter your comment entry below. Press 'Preview' to see how it will look.

Name:
Sign In to Your Account
User Name:
Password:
Location:
Homepage:
E-mail:
Subject:
:mrgreen: :neutral: :twisted: :arrow: :shock: :smile: :???: :cool: :evil: :grin: :idea: :oops: :razz: :roll: :wink: :cry: :eek: :lol: :mad: :sad: :!: :?:
Home About Connect: Twitter Facebook RSS
© 2001-2012 Universal Networks, All Rights Reserved. Some content rights may be held by Universal Networks' providers and used under license. Powered by ServerForest and SAFARI. Learn about our privacy policy here.