Jump to content

Havin_it

Members
  • Posts

    485
  • Joined

  • Last visited

Everything posted by Havin_it

  1. Hello, please believe I haven't posted on this overplayed issue lightly. I have been wrestling with it for days, and have tried both the 'ICS host setup' guidelines from the sticky, and flightcrank's recent post too. My setup is similar to flightcrank's, except that my ICS client is not a separate computer but an emulator running Mac OS X in a window on Mandy. It has a fully-functional emulated Realtek RTL8139 NIC, which connects to a tap/tun interface called 'ppc' on the host. I'm not telling you this so you can tell me none of the howtos are valid, because they are - the only difference is that the ppc interface is not started at boot. Also have iptables on but shorewall OFF, because I think my router's firewall will suffice. So, I followed the off-site howto (referenced in the sticky) to the letter, substituting wlan0 (the router/internet connection) for eth0 and ppc for eth1. BTW, IPs are 192.168.1.1 (router), 192.168.1.2 (wlan0), 192.168.0.1 (ppc), 192.168.0.2 (Mac) After the reboot and bringing up ppc, I found I could ping ppc but not the Mac which was 'Destination Host unreachable'. At this point the ifconfig info was as follows: ppc Link encap:Ethernet HWaddr 00:FF:ED:36:A7:37 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::2ff:edff:fe36:a737/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:546 (546.0 B) wlan0 Link encap:Ethernet HWaddr 00:30:BD:FC:0B:06 inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::230:bdff:fefc:b06/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:426 errors:0 dropped:0 overruns:0 frame:0 TX packets:596 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:94567 (92.3 Kb) TX bytes:96114 (93.8 Kb) Interrupt:16 Memory:20800000-20801fff and route -n Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 ppc 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 and iptables [root@PENGI robin]# iptables -nvL -t nat Chain PREROUTING (policy ACCEPT 113 packets, 15645 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 332 packets, 23668 bytes) pkts bytes target prot opt in out source destination 0 0 MASQUERADE all -- * * 192.168.0.2 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 332 packets, 23668 bytes) pkts bytes target prot opt in out source destination [root@PENGI robin]# iptables -nvL Chain INPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Then I tried flightcrank's approach. Now I can ping the Mac as well, and the Mac can ping as far as wlan0 but no further (not to the router or any internet address/IP). At this point the ifconfig is the same, and the rest: [root@PENGI robin]# iptables -nvL -t nat Chain PREROUTING (policy ACCEPT 98 packets, 24321 bytes) pkts bytes target prot opt in out source destination Chain POSTROUTING (policy ACCEPT 99 packets, 8003 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 83 packets, 6948 bytes) pkts bytes target prot opt in out source destination [root@PENGI robin]# iptables -nvL Chain INPUT (policy ACCEPT 270 packets, 116K bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy DROP 0 packets, 0 bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT all -- wlan0 ppc 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED 61 4043 ACCEPT all -- ppc wlan0 0.0.0.0/0 0.0.0.0/0 Chain OUTPUT (policy ACCEPT 340 packets, 73430 bytes) pkts bytes target prot opt in out source destination All else i can tell you is that this same config worked easily in Win, and also in a previous Linux setup where the internet connection was ppp0 (the dreaded Speedtouch). I guess the problem must be in iptables, but I'm pretty much at a loss about that whole issue (I never used Shorewall with the Speedtouch in the past either). <deep breath> So, any ideas?
  2. Chek this - I Hate This Key http://www.bytegems.com/help/ihatethiskey/...ce/howtouse.htm
  3. I wondered that too. found this somewhere: # Hit the Logo key once to access the Windows Start menu. # Hold down the Logo key and hit D to minimize or restore all open windows. # Hold down the Logo key and hit E to open the Windows Explorer file management application. # Hold down the Logo key and hit F to launch the File search interface (it will say "Search Results" at the top of the window. # Hold down the Logo key and hit F1 to access the Help and Support Center. # Hold down the Logo key and hit R to access the Run dialogue box. # Hold down the Logo key and hit Break (this key is usually shared with Pause) to access the System Properties box # Hold down the Logo key and hit Tab to step through taskbar buttons. Repeatedly hit Tab to keep stepping through them. # Hold down the Logo and Ctrl keys and hit F to search for another computer on your network. # Hold down the Logo key and hit U to open the Utility Manager. I think Logo+Tab is my favourite so far. Just like Alt+Tab, except it focuses a different window WITHOUT BRINGING IT TO THE FRONT.
  4. OK, I have made some headway. I installed vtun and can now 'modprobe tun' which permits the emulator to start (it chokes if there's no tun device). So there's now a working network between MDK and the Mac - both ends have static IP and the interface 'ppc' (the emulator using tun) appears in ifconfig. However, the Mac cannot get DNS from my ppp0 (good ol' Speedtouch) so no internet. I tried enabling Internet Connection Sharing through MCC, but it doesn't recognise ppc as an available NIC to share to. So, basically I need to get under the hood. Where are the config files involved with ICS / NAT? I've only used it in Win before so need a crash-course. EDIT: Pffft! (sound of me spitting coffee over monitor) - it DOES work. I apparently had the wrong IPs set in the Mac's TCP/IP settings. All working smoothly now. the PearPC emulator's installation must be getting a lot smarter, to have got this setup correct out-of-the-box.
  5. I dunno, I'm told it's pretty easy when it works. It is beautifully easy with Windoze; as soon as the emulator is fired up, the TAP adapter connects to its (emulated) NIC and voila, the Mac can access my Windoze shares and the internet. What I'm asking is, how can I determine whether my kernel has TUN/TAP support, and if not, what must I do to provide it? I'm a little scared of recompiling, but I will if that's what it takes.
  6. Just to be clear from the outset, I have no real clue what the subject-line above means. I just know I need it. Allow me to elaborate... I've been using an emulator called PearPC for a while now on Windoze, and its resident 'client' OS (Mac OS X panther) accesses the Web through Internet Connection Sharing and a TAP-Win32 adapter (a component of OpenVPN). I've now successfully got it running on MDK 10 OE too (with the same Mac install on a shared partition), but I'm totally unclear on how to create this type of adapter/interface on MDK. The documentation I could find suggests this is a kernel module, and that if I have it, there would be a file like /dev/net/tun or /dev/tun (conflicting info everywhere, what's new?) which I don't have. My kernel is 2.6.3-15mdk, with kernel-source installed for it (though I've not had experience with building kernels or such). Can anyone talk me through what TAP/TUN means, and how to implement it?
  7. You will need to use ndiswrapper for Broadcom drivers. However, before you install it, you must remove all traces of the outdated version 0.4 ndiswrapper which is preinstalled with MDK 10. This is tricky and requires doing a couple things in a terminal as root user - if you have difficulty with that, just ask (I did). Details about what to delete are here: http://mandrakeusers.org/index.php?showtopic=17446&hl= Then you can install a new version (0.9 is the latest). If you install from RPM I'd recommend grabbing a source package as well (same version) so you'll have the INSTALL guide handy. This tells you exactly how to install your Windows drivers and switch ndiswrapper on. SIDENOTE: Which drivers? the ndiswrapper site may have their own suggestions, but try starting with the ones off your card's Windows installation disk (mine were in a folder called 'driver'). Thing I wish I'd known sooner: start ndiswrapper BEFORE you put the card in. Let us know how you get on.
  8. Well, I will be darned. Found another post on here (recent) suggesting the simple item: Don't insert the card until after modprobing! And sure enough, I have wlan0 up and running. Now need to get to hotspot for final analysis.... EDIT: Hello from the pub! @ : thanks for breaking the deadlock when I had truly run out of ideas (and hope, nearly)... props The HowTo is coming. EDIT(2): The HowTo is not coming because I can't post a HowTo in the FAQ section. I will be happy to post a ndiswrapper howto if someone advises me howto do that!
  9. Belkin 54G Wireless Notebook Network Card. Chip: Broadcom bcm94306 Driver: off the accompanying Win CD (with ndiswrapper 0.9) Access status: I'll tell you as soon as I've been to a hotspot... Work required: not minor, but full howto coming... Price: just under 30 squid UK incl. shipping from Ebuyers Cheapest I could find, instant PnP in Win (not that you'd care about that now...), seems to work well with ndiswrapper given the right groundwork and technique. cardctl ident output: Socket 0: product info: "Broadcom", "802.11g CardBus", "4.5" manfid: 0x02d0, 0x0417 function: 6 (network) Not sure what the pricetag will be in US of course... EDIT: Hotspot automatically detected, nothing more to do. That be good in my book.
  10. Wondering if I'd misinterpreted afrosheen's advice, I went further and deleted the actual files that were mentioned in modules.dep as well, namely /lib/modules/2.6.3-15mdk/misc/ndiswrapper.ko /lib/modules/2.6.3-15mdk/kernel/3rdparty/ndiswrapper/ndiswrapper.ko.gz After reinstalling the 0.9 source package (and rebooting to ensure I had not totally borked the kernel), I checked the kernel-source changes and found that ndiswrapper.ko had returned, as had its reference on the first line of modules.dep, but ndiswrapper.ko.gz had not (nor had its path reference). The result of modprobe ndiswrapper: same. Instant freeze. afrosheen (or anyone else who has a working setup) can you report on the presence/absence of these lines and their corresponding files? I've no idea what is the difference between the two, so I'm pretty much in the dark here. Here's the last bit of syslog before the crash: Aug 13 14:29:19 localhost pci.agent[3080]: ... no modules for PCI slot 0000:03:00.0 Aug 13 14:29:57 localhost kernel: ndiswrapper: no version for "struct_module" found: kernel tainted. Aug 13 14:29:57 localhost kernel: ndiswrapper version 0.9 loaded Aug 13 14:29:57 localhost kernel: ndiswrapper: driver bcmwl5.sys added Aug 13 14:29:58 localhost kernel: PCI: Enabling device 0000:03:00.0 (0000 -> 0002) Aug 13 14:29:58 localhost kernel: PCI: Setting latency timer of device 0000:03:00.0 to 64 Aug 13 14:29:58 localhost kernel: ndiswrapper: using irq 16 Aug 13 14:29:58 localhost kernel: ndiswrapper (wrap_spin_lock:271): lock d5c47a60 is already locked Aug 13 14:29:58 localhost kernel: ndiswrapper (wrap_spin_unlock:293): lock d5c47a60 was not locked Aug 13 14:29:58 localhost kernel: bad: scheduling while atomic! Aug 13 14:31:51 localhost syslogd 1.4.1: restart.
  11. So I tried with the source, and there's good news and bad news... BAD: total freeze on modprobe ndiswrapper, like before. GOOD: THE POWER LED WENT GREEN! BRIGHT EFFIN GREEN! I think we're definitely getting somewhere here. I do recall something about this in ndiswrapper's FAQ pages, so I'll look into this and come back. <so excited!>
  12. AAAAH thanks! It's so good to have a reply! I did not realise there would STILL be a trace of ndiswrapper 0.4, as RPMdrake listed 0.41 as an addable package. However, I'm pretty sure my RPMdrake has bugz up the yinyang anyway... Okay, I will sort out modules.dep and try to start with a clean slate. Since my last post, I've tried removing the 0.9 RPM and installing the same version from source. The upshot of this was the dreaded freeze on modprobe ndiswrapper. I'm not expecting RPMdrake to be any great help with removing this, so I will just go and delete everything I know of and start over. This won't involve recompiling my kernel will it? I've never done that, though I guess I could if I had to... For further info I'm now on kernel 2.6.3-15 Thanks again for weighing in, I will report back soon. NEW: deleted everything, including TWO lines in modules.dep, installed ndiswrapper0.9 from RPM, now modprobe doesn't find ndiswrapper! Will try again, building from source.
  13. Sorry & thanks for the tidyup job. Think I will take a day off from this problem as it's really baking my noodle (could you tell?) Just one other consideration: most of my testing has been done at home, away fromthe hotspot, as I didn't even seem to have the hardware issues resolved yet. I've assumed that I could still bring up the device wlan0 without an available network - true? (It seems true of my eth0 card which is not plugged into anything).
  14. Another thought: I came across a Fedora-related page on ndiswrapper which talked about having to manually create the file /etc/sysconfig/network-scripts/ifcfg-wlan0 I have ifcfg-eth0 and ifcfg-lo files, so I guess I should have a similar one for wlan0, but I don't know what should be in there. Is this file needed for a setup of this type (using ndiswrapper)?
  15. Interesting. If you've installed speedtouchconf, it may conflict with my method (but I don't know quite what to do about that besides reinstall the OS...). If you have the basic speedtouch package installed, you should be able to get to the same connection-setup wizard by going to MCC -> Hardware -> Hardware. If the Speedtouch modem is in the list, select it and click 'run config tool' and see if the wizard behaves the same way. If it's not in the list, you may have a bigger problem. Would you mind showing us the output from the command 'lsmod'? (Again, you might need to su to do this).
  16. Just to be clear, the card does appear in Harddrake as well, but the problem still remains that ndiswrapper is not being offered as a driver (I think that's what should happen). Here's what is displayed next to the card in Harddrake: Vendor: Broadcom Corporation Bus: PCI Bus identification: 14e4:4320:1799:7010 Location on the bus: 3:0:0 Description: BCM94306 802.11g NIC Module: unknown Media class: NETWORK_OTHER Is there something in modprobe.conf or modules.conf that I should be adding? Can I do anything useful at all with the information I've presented? AFTERTHOUGHT: very quiet in here. Maybe I should have posted in networking? I will make a link over there, or maybe a mod can move it for me. I'm still unsure which forum is better for this one.
  17. Our old friend wireless net returns. I really have tried to make things work with the previous threads, but no results whatsoever. I don't use my card for home networking, purely for hotspot internet access (I have a good free one near me). The card's chipset is Broadcom 94306. I have ndiswrapper 0.91 installed - although bizarrely the command dmesg | grep ndiswrapper returns 'ndiswrapper 0.4 loaded' even though 0.91 is the first version I've installed. I have installed my WinXP CD's drivers plus drivers 2, 3 and 4 from the ndiswrapper site's compatibility list page, all are recognised though one is 'fuzzy'. The card itself has the LEDs very faintly illuminated, modprobe ndiswrapper makes no change to them. lsmod shows ndiswrapper as a module, but not used by anything. pcmcia_core is used by ds and yenta_socket, whatever those are. cardctl ident shows only Socket 0: no product info available [i only have one PCMCIA slot and the card is in there] iwconfig shows 'no wireless extensions' with all of my existing network devices (eth0, lo, ppp0, sit0). lspci gives this: 03:00.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 03) Other observations: there is nothing about my card in /etc/pcmcia/config and I can't get the correct info to make an entry for it (as cardctl doesn't give me those hex codes as in the FAQ). Also there are three 'bcmxxx' cards listed when I go into MCC's 'configure a wireless connection' wizard, but none matching my chipset. I thought about just selecting one of them randomly, but my experiences with the Speedtouch modem cautioned me against doing things blindly in the GUI. I gather some here have made this work, but exactly how is not really revealed in anything I've read here. Most threads on the subject seem to have petered out, or ended with "Hey, it's working now! Bye then..." so not exactly helpful to me. Can anyone help?
  18. I think back to basics was the charm for me. I too am a pipex/330 user and didn't get it working until after at least two OS reinstalls (overzealous perhaps, but wasn't taking any chances). One thing i recall is bad experience with KPPP. I did (miraculously) have it working through simple GUI interaction at first, IE 'Set up a network/internet connection' dialogue. However, doing all those steps every time was a pain so I found and installed KPPP. I don't remember much about actually using KPPP, i think it was just a case of entering the same account info as before, but that's the point at which things got irrevocably borked, and I was in the same boat as all these other poor souls. From that point on, i tried every suggestion here and elsewhere, including speedtouchconf, with nil success. Anyway, blah blah... here's what DID work: Prerequisites: Mandrake Speedtouch package (from disc) Firmware: http://home.planet.nl/~andje000/mgmt.o (not sure if other drivers were a problem before, but this one definitely works) No speedtouchconf, or any other rubbish like KPPP! Shorewall disabled (there may be a config for it that works, but I don't know it yet). First, go through the steps for connection through Control Centre. When prompted, give the driver from a floppy if you can (assuming this works as I don't have a floppy drive). Alternatively, you could copy mgmt.o into the /usr/share/speedtouch folder, which you may need to create, before this step. Choose PPPoA connection type. On the account info page, add the Advanced info as follows. VPI - 0 VCI - 38 There's another box whose name I forget, but its default setting is correct so leave it. Proceed with setup: Start at boot: NO restart network: NO Try to connect now: YES (probably fails but worth a shot) *Sidenote about network prompt: I suspect something about my ethernet card (eth0) caused problems here, so if you have one and are not using it, disable it or just don't touch any configs for it at all. Assuming the connection failed, let's look at why. Open a Konsole (or terminal of preference) and type this: su , enter your root password, then: kwrite /etc/ppp/peers/adsl The second line should read pty "/usr/sbin/pppoa3 -e 1 -c -vpi 0 -vci 38" it should BUT IT DOESN'T, DOES IT? So replace the 56 with a 38. While there, just make sure your account username on the bottom line is correct. Save and close. My terminal spews some wacky error output at this point, but don't worry abot that. Next: kwrite /etc/ppp/pap-secrets kwrite /etc/ppp/chap-secrets check these files contain the correct login details. The line should look like 'username@xtreme2.pipex.net' * 'password' * in both files. Now, back in the Konsole, type: modem_run -m -f /usr/share/speedtouch/mgmt.o If this doesn't make your modem lights cycle to green, I'm a Dutchman (and will therefore need different VPI/VCI numbers ;) ) Once the prompt returns, type: pppd call adsl wait as long as it normally takes your connection to go up (mine actually seems a bit quicker than on Windoze), then check the connection's presence with: ifconfig ppp0 If the readout from this is about 6 lines of TCP/IP gibberish with the third line something like UP POINTOPOINT RUNNING NOARP MULTICAST MTU:16384 Metric:1 then you should be in business. Try a web page and let me know if you ain't.
  19. The clock-cursor isn't my main beef. That I can live with; but when there is a massive list of packages it's a pain not being able to drag or jump the scrollbar
  20. I got fed up of my well-meaning Linux-based friend telling me my web content looked crooked in Konqueror. Went to newsagents, Linux Format magazine with 10.0 Community on the cover. Words 'idiot-proof install' much to my liking. And has been as good as its word, networking hardware issues notwithstanding... Mandrake And N00bs Don't Ruin All Kernels Everytime (and it got me into the fun world of recursive acronyms)
  21. @devries: my experience doesn't back that analysis, as I routinely checked all 3 boxes when using RPMdrake. I had previously thought that it was simply a graphic frontend for executing urpmi commands, but apparently it's not that simple. I tell you, we will never beat Kermit and his minions until the GUI gets more user-friendly Anyway, my primary concern is getting rpmdrake fixed, at least to the point achieved by the bugfix update I previously had for CE, to fix the cursor and scrollbars in the GUI. Going through urpmi doesn't get any updates for this either...
  22. The result of your suggestions was 10 more updates found that RPMDrake didn't find. My previous failures in setting up sources were attempted thru RPMDrake, so I'm sarting to wonder whether RPMdrake is just seriously buggy ... That being the case, can I execute a search with URPMI as I would with Perl Package Manager?
  23. Thanks, I think this is getting me somewhere as the command-line approach retrieved 2 packages that weren't detected by RPMdrake (MandrakeGalaxy and Kapacity). I don't have a PLF source, as clubinternet.fr was the ONLY working FTP I could find on Friday after the reinstall, and it doesn't seem to have such a section. Its contrib source seemed a bit small as well... I will try easyURPMI again, but the sites it listed brought me no joy on Friday. Was something major happening that day/Thursday night, like a mass updating or somesuch?
  24. Weel, where to start... I found a page about upgrading MDK 10 CE to Official using RPMDrake (having trouble finding the site now unfortunately...) Anyway, I'd just done a clean format and reinstall so I thought I'd give it a go. The process involved finding a working mirror (clubinternet.fr in this case), installing the mandrake-release-10.0.4-1mdk (or close to that) RPM from the OE folder, restarting, getting all the 'upgradeable' installs from the 'main' source (~700MB), then the latest kernel (2.6.3-15), then getting everything available from the updates source (~550MB). However, things don't seem as stable as previously, when I was simply updating CE. For example, a bug in RPMDrake causing GUI instability with a permanent busy cursor and faulty scrollbars has not been fixed. Also, there are certain packages which are neither installed (according to search in 'remove' section) nor available (in 'install' or 'update' sections). These include KLaptop, perl-base (which I thought I'd installed initially) and libc.so.6 (basically some quite intrinsic packages I would have thought). Any thoughts on this? Did I do a BAD thing employing this method? How best to proceed - I don't really want to reformat again if I can avoid it, but I guess if I do it should be soon befor I get comfortable again.
  25. Well I deleted everything I could find leftover of the 0.4 ndiswrapper, namely only the /etc/ndiswrapper folder containing the drivers that were installed there. I'm now slightly regretting not examining the conf files that were in there for clues, but I want to just start over with a clean slate really. So one thing at a time. Any tips on how I can be sure I've completely eradicated any trace of ndiswrapper before I install the new version? And what is the situation with the kernel? I just installed the 2.6.3.15 (and the source), followed by ndiswrapper 0.8 which I've uninstalled again because dmesg returned a line like 'ndiswrapper 0.4 loaded'. I want to be sure I can start afresh, removing anything that might be left in config files and so on before I do so. Any advice what files to examine? I'm still effectively noobish when it comes to networking and hardware issues in general. Any replies greatly appreciated, I know it's becoming an interminable subject but it should be solved once and for all (especially as this is about the cheapest 54g card on the UK market now).
×
×
  • Create New...