91
Hardware / Re: Access Intel E100E SVN
« on: 2010.09.07, 12:42:25 »Try https://svn.ecomstation.nl/repos/intelnic
This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!
If you need help with OS/2 - eComStation visit http://www.os2world.com/forum
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi Andi,You missed my point here. I'm pretty sure your router is able to work in 10Base-T mode. But if your router is set up to 'Auto negotiate', which I think every 100Base-TX capable device per default is, it's not guaranteed that it will link to any 'forced' device. Point is, don't force any device or force both devices. Otherwise it's not guaranteed to work.....Usually forcing Link speed/mode is a bad thing. It is guaranteed to work ONLY when the link partner is forced to the same settings too. Of course most times it will work if the other one is in Auto mode, but not for sure.
I also tried it without enforcing IO mode, and without enforcing line speed - no success.
I'm using 10 Mbit setting, because the card is said to work in full duplex mode at this speed. Only half-duplex is possible with 100 Mbit.
Peter
Your are sure your cabling is okay? Have you tried this setup with other OSes?
Yes, my router should handle 10 Mbit Ethernet. And another reason I went with 10 Mbit is that the Xircom dongle has a little light which is supposed to go on when the card works in 10 Mbit mode. The light goes on, so it provides me yet another assurance that the driver actually talks to the card.
The setup works without any changes in Linux and Windows 98.You suppose the driver can set up IO-Addresses and IRQs as in another post you wrote you'll try to use addresses starting at 320 and IRQ 10 which is different to what you use in W98. I've never seen a PCMCIA network card/driver which can do this. That does not mean that it is impossible. But in my experience it is not very likely. Or maybe I'm only used to older cards/drivers which definitely can not do such things.
Linux says on startup (dmesg):
eth0: Xircom: port 0x300, irq 3, hwaddr <MAC-address-here>
In Windows I see the following resources:
Input/Output Range 1020-102F
Interrupt Request 03
Memory Range 0A000000 - 0A000FFF
Memory Range 0A001000 - 0A001FFF
In case you wonder, yes, I tried using IRQ 3 as well. It made no difference.
Peter
...Which brings us back to the DOS config tool I mentioned above. Does this not exist for this special card? Can this card be configured through the driver? All PCMCIA network cards I've seen till now have to be configured with the DOS program before using it. Or at least I've used the DOS utility to find out the settings. I only have to tell the driver which settings the card was configured before.
....Usually forcing Link speed/mode is a bad thing. It is guaranteed to work ONLY when the link partner is forced to the same settings too. Of course most times it will work if the other one is in Auto mode, but not for sure.
I also tried it without enforcing IO mode, and without enforcing line speed - no success.
I'm using 10 Mbit setting, because the card is said to work in full duplex mode at this speed. Only half-duplex is possible with 100 Mbit.
Peter
...Sorry I was not clear about that. If you've set up a working WiFi profile in XWLAN and deactivate wireless then the wired connection is configured. I think this is an option you've to choose in xwlan. I've currently no Thinkpad running to check in which page and how it is called exactly.
From what you say, Andi, XWLAN should do that for me now, but it isn't, never has w/ 2.0GA. Can you point me in the direction to get XWLAN (or other) to allow choice of ethernet or wifi on boot?
..
...Now I run out of ideas :-(
>ifconfig lan1 192.168.4.1 <= my router IP address
ioctl (SIOCAIFADDR): File exists
>ifconfig lan1 192.168.4.44
>ifconfig lan1
lan1: flags=8843<UP,BROADCAST,RUNNING,MULTICAST,LOOPBRD>
inet 192.168.4.44 netmask 0xffffff00 broadcast 192.168.4.255
>ifconfig lan2 192.168.4.34 <= lan2 is not configured
ioctl (SIOCAIFADDR): Invalid argument
When the driver loads, a light on the router comes up, indicating an active link.
But when I try to ping the router:
>ping 192.168.4.1
nothing is sent successfully
Peter
I'm using eCS 2.0 GA on a TP43p. During install, i used the ethernet connection to the router/modem (actiontec m/q1000). If you read my other post, I finally was able to get wifi (wpa, not wpa2) going. I was able to save doing a lot of reboots by keeping my ethernet connected and accessing the router through it. I enabled lan0 interface, manually, using IP address 192.168.0.2, subnet 255.255.255.0. At the same time I have lan1 enabled using automatic dhcp. I do not have Internet access through the ethernet.One important thing to know is that you can not use two lan interfaces at the same time in the same subnet. Means if lan0 have 192.168.0.x your wireless can not have 192.168.0.y at the same time. If your router does have build in wireless it most like uses the same subnet for both interfaces (wired and wireless). Hence XWLAN switches between that two by disabling one and enabling the other. You can do that by hand with 'ifconfig lan0 delete' and 'ifconfig lan0 192.168.0.201'
I only have vague notions about what is going on when networking. I have read what I thought necessary on networking, started to read the 140 pages on mpts and realized most of the information did not apply to me, even if I did understand it. You guys have been really helpful, and I don't want to abuse your time, I'm not asking for a primer on networking, although if there were one on tcpip, I would like to get it. My networking needs are confined to Internet access. I don't need or use a network printer or connect with another computer at home.XWLAN
So,1) Is there a way to switch between ethernet and wifi access without going to the tcpip configuration notebook and rebooting?
2) Accessing the router while testing wifi settings was handy. Did I do this properly? (IP address 192.168.0.2, subnet 255.255.255.0) It appears the IP address for my router is a generic one. If I used another IP address and/or subnet would I be able to get Internet access?Which one does your router use? You can always test your connection with ping <router ip>. If you let it run in another shell you see if it works even when switching between the lan interfaces with XWLAN.
3) I don't understand when dhcp kicks in. Can I avoid using dhcp on the ethernet connection by using a manual address? and what would that address be? Does wifi (xwlan) use dhcp, just not through the dhcp monitor?I would suggest fixed IP addresses which is easier to setup and probably more robust in your case as it seems you do not want to have more than those 2 devices in your network.
.....I would test the network with ifconfig lan0 or ifconfig lan1 (depends on how many network cards you've configured).
However, the network still does not work. I tried using DHCP or a static IP address, it makes no difference and it looks like no packets are sent out or nothing is received.
I looked carefully at the config.sys file from ThinkpadConfig.zip.I've very little knowledge about this PCMCIA stuff but always thought AUTODRV is necessary for Flash drives or maybe cards which are configured by the card services which is NOT the case with MY Xircom. I'm rather sure this entry does have nothing to do with my Xircom as my Xircom seems to be one of the 'PointEnabler' types. I can post this file when at home but most likely there is nothing in there for the Xircom.
There's one line there, which looks like a point enabler:
DEVICE=E:\OS2\BOOT\AUTODRV2.SYS E:\OS2\AUTODRV2.INI
Andi, do you still have the contents of your AUTODRV2.INI anywhere?
In version 5 of PC Card Director (this is what I got), AUTODRV2.SYS is loaded by BASEDEV, not DEVICE, and the documentation does not mention any parameters that can be specified, so I'm not sure it this is a good route to go, but perhaps it is worth giving it a try.Remember my setup is a Warp3 with I think no fixpacks but Lan Server 4.0 components on top. So I don't know which PCCard Director / Ezlite version is installed there. And my Xircom seems to be a different one as yours.
As for specifying the /s0= parameter for IBM2SS01.SYS, this did not work. First of all, the file I got with PCCard Director is named a bit differently, IBM2SS14.SYS. And it does not accept /s0=, saying "invalid parameter specified" during boot.
So, currently I try to use the driver without any socket and card services, and my config.sys file looks like this:
...If your card could not be controlled by PCCard Services, which is much likely with Xircoms, then I think the key is to disable the correct slot in card services (/S0=1 /IG0=1 --- not sure anymore what each param does and how it works with v5.0).
The next thing I'm going to do is to use AUTODRV2.SYS (point enabler) which came with PCCardDirector 5. The documentation says that custom scripts can be prepared, so I'm going to give it try. This might not be easy though, as I'm not sure I know what I'll be doing ...
As usual, any suggestions will be appreciated
Peter
'@myip.exe | rxqueue SESSION /FIFO'
line = LEFT(LINEIN( 'QUEUE:' ),15)
which perfectly works. Problem was a logical error which I overlooked when I changed it from writing/reading in a file to queue....Thx. I've now used a queue within Rexx successfully with your sample. Works well on my main machine. Problem is, the same script does not run on a fresh installed eCS2.0GA. Before I dig in deeper and check all rc values one question -
Regarding queues, Yes, the output can be read line by line with something likeCode: [Select]/* Clear session queue in case it contain "garbage" from a previous run *///Jan-Erik
'@rxqueue SESSION /CLEAR'
/* Try to determine the scanner, send output to the app rexxqueue, that place it in the rexx queue */
'@scanimage -L | rxqueue SESSION /FIFO'
/* Read the first line from the rexx queue */
parse value LINEIN( 'QUEUE:' ) with 'device `'cfg.device"' is a" cfg.scanner.manufacturer cfg.scanner.name cfg.scanner.model cfg.scanner.type 'scanner'
With other system I meant eCS2.0rcX, not at toy from redmond ;-)QuoteThey do have drive letters when looking at the CF-Card from another system via USB card readerThat is normal with windows.
...