Setting with a routeurForum: Networking Topic: Setting with a routeur started by: Cok33n Posted by Cok33n on May 05 2004,22:51
Hi everybody I want to know how to configure a adsl connection trought a routeur on linux , I don't know if its possible . My routeur splits my internet connection with the others computers in my house and they are all running on microsoft windows. please tell me if its possible , and , if so , tell me how plz thanks Cok33n Posted by cyber620 on May 14 2004,23:39
I also have the same problem.I have a linksys router. running off the cd with floppy backup, and I can't get it to recognize my ethernet card. This is my first experience with a linux distro. Help! Posted by ezscript on May 25 2004,12:02
me too...cannot get onto internet and locate computers within the same network in the school.and I need a password and user name for connection. but dsl never ask me, instead it said connection refused. Will DSL able to pop a window up and request for it? Posted by stuzz on May 25 2004,15:29
Cok33n, I have installed DSL to my laptop, I have a D-Link 614+ router sharing my cable internet to the computers on my home network.As long as the hardware in your PC is recognized by DSL it should connect you automatically. I have two network cards I can use in my laptop and both of them work- even though one was made four years before the other one!. So as long as your router is connected to the internet (i.e. is logged on to the net (in case of some ISPs which require login for adsl (i.e. bigpond in australia))) and your hardware is detected, the router should assign you an ip address with DHCP, and you'll be able to connect through the router to the internet without a worry. If the router connects the other computers and not your DSLinux computer to the internet then you should check the setting in the router to make sure it's assigning your network card's MAC address an IP (DHCP settings). -Stu. Posted by rlara333 on May 29 2004,07:11
Hello, I too have a DLink 614 and have been able to use the net with DSL on every computer I have tried with the auto detection of DSL. If you have other computers available at home try DSL on these. It does seem to be a problem with your NIC; but I have never had DSL not recognize one of mine. Look in the config utility of your router and see if it sees your DSL box. If it is not there with an asigned IP, your problem is most likely with your DSL box. Try running DSL w/o restore to see if the auto-detect for the network gives you any probs.God Bless rlara333 Posted by docdtv on Oct. 21 2004,03:03
I am trying to use a D-Link 614+ WAP/router as well. I am using a D-Link DWL-122 as client (USB) card. I know the pair work well running Windows 98SE on the client, so hardware is working fine. I can use "ndiswrapper" to wrapper either of the Windows drivers which come with the client card, followed by use of "prism2" (both come with DSL 0.8.2) - and then the WAP/router sees the client card make contact (reports its MAC address.) DSL's iwconfig can be used to see the MAC address and other things about the WAP/router. The one trick I needed was to plug in the client USB card AFTER DSL boots. (This seems to be a problem with some cards based on the PRISM 2.5 chip.) But then I fail. I cannot figure out how to get DHCP to work. The WAP/router never reports any DHCP requests, much less successes, from the DSL client card. It sure doesn't work using either "pump -i wlan0" or the netcardconfig tool (which calls wlcardconfig in turn.) One can use netcardconfig to assign a static (non-DHCP) IP address to wlan0 (as reported by ifconfig). But even when you FORCE a static DHCP association between the same IP address and the client card MAC address on the WAP/router, the WAP and client cannot connect via IP. (Ping fails from both ends.) Odd behavior - if you manually set up the routing table so: (192.168.0.1 is the wireless address the WAP/router uses) route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0 default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0 the first table entry prints out at once, but the second entry only does so after a delay of many seconds - as if it is trying to do something, not just looking at a table. Also, if you use it, pump seems to be doing SOMETHING - it sures clears out the routing table reported upon by route, if you had previously set it up manually. I'd appreciate any suggestions. Thanks Posted by docdtv on Oct. 21 2004,05:24
I am stilll trying to use a D-Link 614+ WAP/router and a D-Link DWL-122 as client (USB) card. I just noticed that DSL 0.8.2 may have native support for the D-Link DWL-122. Sure enough, when I do the following: insmod wlan insmod prism_usb and then run the "prism2" utility, again the WAP/router sees the client card connect. However, AGAIN (as with alternate use of wrappered Windows drivers above) I find that "pump -i wlan0" fails in exactly the same way. (Minimal success AGAIN requires that one plug the USB card in AFTER DSL boots.) Does this give you a hint about my problem? Are there any diagnostics I can run to watch what "pump" is trying to do? Apparently, the WAP sees NO DHCP request, for it logs such, even if they do not succeed! RSVP, thanks! P.S. For fun here is some of the kernel ring buffer (via dmesg) [I plug in the DWL-122 and generate the next line] hub.c: new USB device 00:07.2-1, assigned address 3 ds: no socket drivers loaded! ident: nic h/w: id=0x8026 1.0.0 ident: pri f/w: id=0x15 1.1.3 ident: sta f/w: id=0x1f 1.7.1 MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1 CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1 PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4 STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12 PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1 STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1 STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1 Prism2 card SN: 000000000000 p80211knetdev_hard_start_xmit: Tx attempt prior to association, frame dropped. linkstatus=ASSOCFAIL (unhandled) linkstatus=CONNECTED skb_ether_to_p80211: Host en-WEP failed, dropping frame (-3). NETDEV WATCHDOG: wlan0: transmit timed out wlan0 rx pipe reset complete. wlan0 tx pipe reset complete. skb_ether_to_p80211: Host en-WEP failed, dropping frame (-1). NETDEV WATCHDOG: wlan0: transmit timed out wlan0 rx pipe reset complete. wlan0 tx pipe reset complete. NETDEV WATCHDOG: wlan0: transmit timed out wlan0 rx pipe reset complete. wlan0 tx pipe reset complete. NETDEV WATCHDOG: wlan0: transmit timed out wlan0 rx pipe reset complete. wlan0 tx pipe reset complete. NETDEV WATCHDOG: wlan0: transmit timed out wlan0 rx pipe reset complete. wlan0 tx pipe reset complete. Posted by AwPhuch on Oct. 21 2004,18:29
May I recommend a firewall release similar to DSL, the only thing is that it is a HD install only system< SmoothWall Express 2.0 > Here is how I have my network setup behind the SmoothWall at my house Brian AwPhuch Posted by williahow on Oct. 21 2004,19:37
docdtv - try using modprobe prism2_usb prism2_doreset=1 before the wlanctl-ng/pump commands described elswhere in the forum This works for me using a D-LinK DWL-122 Ver A1 with D-Link DL-614+ Revision A (2 antenna) combination Posted by AwPhuch on Oct. 21 2004,20:19
Ah...you are trying to get your wireless card to connect to your network...sorryIs DSL not finding the correct drivers?? Brian AwPhuch Posted by docdtv on Oct. 24 2004,20:09
Thanks for the tip, williahow! Again, I am trying to make a D-Link 614+ WAP/router work with a D-Link DWL-122 (hardware version A1) as client (USB) card. [But the router is NOT Revision A (2 antenna) combination, as is the one williahow uses.] For the benefit of newbies and people with imperfect recall, < http://www.faqs.org/docs/linux_scratch/appendixa/modutils.html > has a nice summary of the "modutils" package, which helps one manage kernel modules like "prism2_usb". After booting DSL 0.8.2, (based on Linux kernel 2.4.26) I do "lsmod | grep pr" and read: prism2_usb 61468 0 p80211 22412 0 [prism2_usb] usbcore 57824 1 [hid prism2_usb usb-uhc1] so that one sees that prism2 is loaded AUTOMATICALLY. Issuing "modinfo prism2_usb" shows that this module supports 3 commands, including the one williahow kindly suggested I use, viz. modprobe prism2_usb prism2_doreset=1 Unfortunately, it does not seem to help me get DHCP working. "pump -i wlan0" still reports "Operation failed." It seems similar utilities like "dhcpd" and "dhclient" do not come with DSL to try out. "modinfo p80211" shows some more commands, but none seem germane to solving my problem. After a boot, the DWL-122 power lamp is on and the networking lamp blinks. A necessary and sufficient condition to make the latter light steadily is to use the "prism2" (GUI-based) applet and issue the correct (E)SSID - the proper channel does not seem to matter. FYI, the details reported by iwconfig track the parameters given via the prism2 applet (i.e. the SSID and channel->frequency). I looked again at: < ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/README > "wlanctl-ng" comes with DSL 0.8.2 and I tried issuing various of its commands to get dhcp to work out, but to no avail either. "wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable" reports back "...returncode=success" "wlanctl-ng wlan0 lnxreq_autojoin ssid=<your ssid> authtype=opensystem" reports back "...returncode=success" I grow pessimistic that I will get my client card to work, even though I know that it works just fine under Windows 98SE. But I will watch the discussion here if someone has a suggestion in the future. williahow, you have been kind and meticulous. But can you offer me yet more details? Like the DSL version, ALL the commands you issue to get connected, etc? Thanks. Posted by williahow on Oct. 25 2004,23:04
docdtv,My setup is DSL version 0.8.2, these are commands which work for me on a basic (dsl toram) boot modprobe prism2_usb prism2_doreset=1 wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable #Sometimes from power up this has to be done twice for a success wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable wlanctl-ng wlan0 lnxreq_autojoin ssid= authtype=opensystem ifconfig wlan0 up pump -i wlan0 The issue could be that I don't currently have WEP turned on in the D-Link Router (living dangerously..). When I turned WEP on, I also get connection failure. Posted by docdtv on Oct. 26 2004,22:15
Thanks so very much again, williahow! These commands work perfectly, pretty much(+) *AS IS*, booting with the USB card PC-attached! It turns out I had actually tried the "ifconfig wlan0 up" command per the suggestions of the Web page at: < http://m4i.homeip.net/m4i/pub/wlan-ng12_usb_readme.txt > - as well as the various other commands in your script, as discussed previously. But obviously I had never used all of them in the particular order, *especially* not the double-repeated command!!! Thanks again! (+) Of course I follow "ssid=" with my particular (E)SSID. |