Newbie wants to connect laptop to internet with wireless router... how?
Hi everybody. Sorry for the presumably dumb question, I have got *somewhere* but am stuck. I've installed LFS fine as per the 6.3 book, though I haven't done sec 7.13, configuring the network script, as I don't know what to put in there. I used a later kernel, 2.6.26.5. Reason being, support for my Intel Wireless 3945 card. So that bit works alright. I've installed wireless-tools-28 as per BLFS. After I've booted up I issue the following commands: ip link set wlan0 up iwconfig wlan0 essid name-of-my-router iwconfig wlan0 key hex-key Presumably those could go in a bootup script somewhere... any suggestions? Now what else do I need to do? Once I can 'ping www.theonion.com' and get a couple of packets back, or use wget to fetch some files, I'll be sorted! The only other bit of info I can think of right now is that the router's address appears to be '192.168.1.1' to all computers that should connect to it. Presumably my laptop would not need to know such things as DNS addresses, as those are all handled by the router? The router itself is already connected fine, I can surf all day on Windows and Ubuntu. Many thanks in advance. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
Hi everybody. Sorry for the presumably dumb question, I have got *somewhere* but am stuck. I've installed LFS fine as per the 6.3 book, though I haven't done sec 7.13, configuring the network script, as I don't know what to put in there. I used a later kernel, 2.6.26.5. Reason being, support for my Intel Wireless 3945 card. So that bit works alright. I've installed wireless-tools-28 as per BLFS. After I've booted up I issue the following commands: ip link set wlan0 up iwconfig wlan0 essid name-of-my-router iwconfig wlan0 key hex-key Presumably those could go in a bootup script somewhere... any suggestions? Now what else do I need to do? Once I can 'ping www.theonion.com' and get a couple of packets back, or use wget to fetch some files, I'll be sorted! The only other bit of info I can think of right now is that the router's address appears to be '192.168.1.1' to all computers that should connect to it. Presumably my laptop would not need to know such things as DNS addresses, as those are all handled by the router? The router itself is already connected fine, I can surf all day on Windows and Ubuntu. Many thanks in advance. Everybody has to start somewhere :) If your wlan router uses WPA encryption instead of WEP, you'll also need wpasupplicant. For WEP your steps are fine. After connecting like that, you just need to enter your IP, and the router's: ip addr add 192.168.1.56/24 dev wlan0 ip route add default 192.168.1.56/24 via 192.168.1.1 dev wlan0 echo nameserver 192.168.1.1 /etc/resolv.conf That should get you online. Lauri -- ___ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com Powered by Outblaze -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
On Sun, Oct 5, 2008 at 4:23 AM, Lauri Kasanen [EMAIL PROTECTED] wrote: If your wlan router uses WPA encryption instead of WEP, you'll also need wpasupplicant. For WEP your steps are fine. After connecting like that, you just need to enter your IP, and the router's: ip addr add 192.168.1.56/24 dev wlan0 ip route add default 192.168.1.56/24 via 192.168.1.1 dev wlan0 echo nameserver 192.168.1.1 /etc/resolv.conf It's very likely that your router is setup as a DHCP server, so you can just use a DHCP client to handle these details. There are two dhcp clients in BLFS: http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpcd.html http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpclient.html This has a summary of the wireless side: http://wiki.linuxfromscratch.org/blfs/wiki/WirelessTools -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
Thanks Lauri... that's got me a bit further, but not all the way! First off, when I run the 'ip route add' command, I get back a message saying: Error: either to is duplicate, or 192.168.1.56/24 is a garbage. Is this a problem? Then once I've entered those commands and made the /etc/resolv.conf file, I can ping 192.168.1.1 and 192.168.1.56 successfully. But if I ping somewhere in the big bad world, like www.linuxfromscratch.org, it says that's unreachable (though it does resolve the name, so it must presumably be communicating sucessfully as far as my ISP's DNSes). Also wget doesn't manage to get any files yet. How can I finish this off? Finally, I'm doing all this at my mum's house. When I go back to my flat tomorrow, I'll be seeing a router which apparently likes to be called '10.0.0.2'. Do I just need to do the same things but change 192.168.1.56 to say 10.0.0.3? -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
It's very likely that your router is setup as a DHCP server, so you can just use a DHCP client to handle these details. There are two dhcp clients in BLFS: http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpcd.html http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpclient.html This has a summary of the wireless side: http://wiki.linuxfromscratch.org/blfs/wiki/WirelessTools Hello Dan, I remember your excellent help from the last brick wall I hit! I'd prefer to install as little as possible. If, as it would appear, I can get online just by issuing a few commands in a script, would there be any advantage in installing a dhcp client? What would that do that those few commands wouldn't? -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
On Sun, Oct 5, 2008 at 10:47 AM, Christian Gardner [EMAIL PROTECTED] wrote: It's very likely that your router is setup as a DHCP server, so you can just use a DHCP client to handle these details. There are two dhcp clients in BLFS: http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpcd.html http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpclient.html This has a summary of the wireless side: http://wiki.linuxfromscratch.org/blfs/wiki/WirelessTools Hello Dan, I remember your excellent help from the last brick wall I hit! I'd prefer to install as little as possible. If, as it would appear, I can get online just by issuing a few commands in a script, would there be any advantage in installing a dhcp client? What would that do that those few commands wouldn't? The DHCP client talks to the DHCP server (your router) to find out the IP adress to use, DNS servers, gateway, etc. While you may know these settings on your home router, if you take the laptop elsewhere, you'll most definitely need a DHCP client to do this work for you. Both DHCP clients are pretty small and probably worth it unless you're using static IP addresses everywhere. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
Christian Gardner wrote: Thanks Lauri... that's got me a bit further, but not all the way! First off, when I run the 'ip route add' command, I get back a message saying: Error: either to is duplicate, or 192.168.1.56/24 is a garbage. Is this a problem? Yep. The correct syntax should probably be: ip route add default via 192.168.1.1 dev wlan0 and you should be good. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
Christian Gardner wrote: Finally, I'm doing all this at my mum's house. When I go back to my flat tomorrow, I'll be seeing a router which apparently likes to be called '10.0.0.2'. Do I just need to do the same things but change 192.168.1.56 to say 10.0.0.3? I forgot to add. This is where a DHCP client will be very useful. Take a long look at the link that Dan pointed to in the wiki to get it setup correctly...once setup, all of the networking steps happen automatically except for the wireless network selection (SSID and KEY/Passphrase). -- DJ Lucas -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: Newbie wants to connect laptop to internet with wireless router... how?
On Sun, Oct 5, 2008 at 7:39 PM, Christian Gardner [EMAIL PROTECTED] wrote: Thanks Lauri... that's got me a bit further, but not all the way! First off, when I run the 'ip route add' command, I get back a message saying: Error: either to is duplicate, or 192.168.1.56/24 is a garbage. Is this a problem? you should do ip route add default via 192.168.1.1 it can figure the dev by itself http://192.168.1.1/ Then once I've entered those commands and made the /etc/resolv.conf file, I can ping 192.168.1.1 and 192.168.1.56 successfully. But if I ping somewhere in the big bad world, like www.linuxfromscratch.org, it says that's unreachable (though it does resolve the name, so it must presumably be communicating sucessfully as far as my ISP's DNSes). Also wget doesn't manage to get any files yet. How can I finish this off? Finally, I'm doing all this at my mum's house. When I go back to my flat tomorrow, I'll be seeing a router which apparently likes to be called '10.0.0.2'. Do I just need to do the same things but change 192.168.1.56 to say 10.0.0.3? yeah, and the route command to ip route add default via 10.0.0.2 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: cursor control in console
Scott Castaline wrote: Which file actually controls the behavior of the console cursor? It seems to behave erratically. When typing a long command it just keeps on scrolling horizontally, even though it is turned off in inputrc. If I recall a previously entered command the cursor is not at the end but several characters to the left thus making it difficult to edit the command. I'm still not sure what is going on. TERM is definitely set to linux under terminfo/l. When I type in something that is beyond around 72 characters, it now jumps down a line and then will scroll horizontally from there. If I use the up arrow to repeat a command that is very long the cursor will not go to the end of the comand and behaves erratically, thus editing the command at different points is next to impossible. I am now using all of the scripts as is form the book for /etc/profile.d, profile, bash_profile, and bashrc. It's very difficult navigating through the cli in the shell. VIM and nano seem to respond as expected, just at the prompt in the shell. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: KDE MIME issues
I'm trying a clean rebuild of KDE, and kdebase build chokes with this: ./.libs/libkdeinit_kdesktop.so: undefined reference to `KSVGIconEngine::KSVGIconEngine()' ./.libs/libkdeinit_kdesktop.so: undefined reference to `KSVGIconEngine::~KSVGIconEngine()' ./.libs/libkdeinit_kdesktop.so: undefined reference to `KSVGIconEngine::load(int, int, QString const)' ./.libs/libkdeinit_kdesktop.so: undefined reference to `KSVGIconEngine::image()' I have no idea if this is new, or if I just missed it the first time around, and that's how I got a mostly-broken KDE. Google dredged up a few people that ran into this problem when building from SVN head, but I can't find any reference to anyone having this problem with a stable release. I can't find any evidence of a KSVG package outside of kdebase or kdelib. Could there be a dependency I missed somewhere? -- William Tracy [EMAIL PROTECTED] -- [EMAIL PROTECTED] Vice President, Cal Poly Linux Users' Group http://www.cplug.org -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: KDE MIME issues
On Sunday 05 October 2008 19:07:45 William Tracy wrote: I can't find any evidence of a KSVG package outside of kdebase or kdelib. Could there be a dependency I missed somewhere? As long as you have Qt and X installed you should not run into any dependency problems. I've build 3.5.9 and 3.5.10 in recent months and not run into this. At this point I would want to confirm that kdelibs did indeed build and install correctly, and to maybe run ldconfig before trying to build kdebase again. Good luck, Trent. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page