debianadmin.com — This is step by step tutorial how to configure networking in Ubuntu this includes Configure your network card using GUI tool for beginners and from command line for advanced users.this will also explains how to troubleshoot your network related problems
Dec 4, 2006 View in Crawl 4
kremvaxDec 5, 2006
I use uCLinux daily, but only on computers smaller than a mouse.
blacklotus135Dec 5, 2006
gentoo.
70phr3Dec 5, 2006
@InetRoadkill:ifup and ifdown work in Ubuntu as well...maybe thats the intermediate way of doing things
tpinkDec 5, 2006
"I'm a little surprised that you have to reset the entire networking stack when you change one of the interfaces in ubuntu. On my old RH system, it's simply ifdown eth0, make your cfg changes, ifup eth0, done."Yes, that's all you need to do (did it yesterday in fact). Always make sure you do:sudo ifdown eth0 && sudo ifup eth0If you're connecting over SSH. If you do the first without the second you've just locked yourself out of the box and have to bring the network interface back up at the machine console (or over serial console).
regeyaDec 5, 2006
Start up a Terminal, and type 'man interfaces', and stay the hell away from the Ubuntu graphical config programs.Here's mine:-------auto lo eth0 ppp0 iface lo inet loopbackiface eth0 inet static address 192.168.0.1 netmask 255.255.255.0iface ppp0 inet ppp provider provider--------See, I live out in the boonies, where my high-speed options are 'satellite' and 'go to hell.' Therefore, I have pppd configured to do dial-on-demand, have dnsmasq providing dns and addresses (yeah, dnsmasq does dhcp) and lazy ol' me lets firestarter firewall/nat the whole mess. Since I want to use dhcp on this machine and since I have firestarter handling the firewall rules, and the firewall rules clobber dhcp, I had to add this to /etc/firestarter/
regeyaDec 5, 2006
Aaargh! Accidentally clicked on Submit instead of Check Spelling, didn't have my comment come up on refresh, got an error when trying to submit my edit...someone tell kevin and alex to stop polishing their monocles and get their asses off the yacht and fix some stuff, man.*First, here's what I had to add to /etc/firestarter/user-pre:$IPT -A INPUT -i $INIF -p udp -s 0.0.0.0 --sport 68 -d 255.255.255.255 --dport 67 -j ACCEPTAdd that, restart Firestarter, and you should have no trouble with serving up dynamic addresses...once you have a dhcpd. I recommend configuring dnsmasq to do that, skip out on dhcpd, and DO NOT elect to assign addresses via DHCP in the Firestarter wizard.Anyway, the reason for the line that says 'provider provider' is that I picked the default name 'provider' in pppconfig. Set 'em up in the curses (terminal-based) interface, save the config, add that. If I'd named it 'murderface', for example, that line would read 'provider murderface'.So...yeah, a really brief rundown of what could be a potentially complex setup. But it's not, thanks to the hard work of Debian and Ubuntu devs.One last thing: IF you want to set up a static address for eth0, and you have zeroconf installed, make sure to add the following to /etc/default/zeroconf:IFBLACKLIST="eth0"Either that, or if you want to disable zeroconf completely (might not be a bad idea)DISABLE=yes*old kuro5hin joke, sorry
lilrabbit129Dec 5, 2006
FC6
guardsman85Dec 6, 2006
I'm fairly new (less than 6 months) to Linux and open source in general. I guess you could say that I'm a recent convert that "saw the light" and made the switch.I had previously had many misconceptions about Linux: a) Mainly for servers and not a viable option for the desktop. b) Inferior to Windows or OSX. c) Too complicated to figure out in my free time.Then one day I saw a feed for Digg that said something like "Ubuntu easiest Linux distribution for beginners yet" and decided to find out more. I tried several distros.I didn't like OpenSuSE, mainly because of YAST and a more complicated (IMO) setup. Debian just seemed too cluttered for me. Gentoo...tried it, but I honestly don't remember why I didn't like it.In short Ubuntu won as my distro of choice (at least for now) for these reasons:Free - both as in price and as in licensing philosophyLiveCD - I didn't want to back up my hard drive and reformat just to try somethingUncluttered - Not a bunch of packages I don't need upon installSupport - I personally found more relevant support info for this distro compared to othersDrivers - with the exeption of my video card Ubuntu had fewer problems with my hardware than did other distros I triedI wouldn't digg someone down for using another distro. We all have different preferences and situations. What works for one, may not work for another. I just hope more people "see the light" like I did and make the switch to open source alternatives--whichever alternative they may choose.