Author Topic: is my modem problem solved?  (Read 1952 times)

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
is my modem problem solved?
« on: 19 November 2002, 10:45 »
Well if you recall i posted a few days ago about my modem not working in linux. I've dealt with it in a better way than getting the modem to work. My cell phone has an infrared port on it as does my laptop. In windows (oh the horror) i was able to use it to get on the internet. Is there any way I can get it to work in the same fassion in linux? I'm not sure if my infrared port even works in linux or not, how would i test this? how would I set up the modem to go through that port? hopefully this'll solve my problems. (nothing like wireless internet on a laptop  ;)  )

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
is my modem problem solved?
« Reply #1 on: 19 November 2002, 11:14 »
Linux does have IR support, but I've never used it. This HOWTO does list some phones that it will work with. It would also have to be compatible with the IR port on your machine. Do you see IR stuff detected in a "dmesg" command?

http://www.linuxdocs.org/HOWTOs/Infrared-HOWTO/
Someone please remove this account. Thanks...

Stryker

  • VIP
  • Member
  • ***
  • Posts: 1,258
  • Kudos: 41
is my modem problem solved?
« Reply #2 on: 19 November 2002, 11:29 »
It's a motorola L7089, with dmesg i wasn't quite sure what i was looking for so here it is...

 
quote:
Linux version 2.4.18-3 ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:37:53 EDT 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 00000000000eee00 (reserved)
 BIOS-e820: 00000000000eee00 - 00000000000ef000 (ACPI NVS)
 BIOS-e820: 00000000000ef000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000eff0000 (usable)
 BIOS-e820: 000000000eff0000 - 000000000f000000 (ACPI data)
 BIOS-e820: 000000000f000000 - 0000000010000000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
On node 0 totalpages: 61424
zone(0): 4096 pages.
zone(1): 57328 pages.
zone(2): 0 pages.
Kernel command line: ro root=/dev/hda5 vga=791
Initializing CPU#0
Detected 995.951 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 1985.74 BogoMIPS
Memory: 239280k/245696k available (1119k kernel code, 6028k reserved, 775k data, 280k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: Before vendor init, caps: 0383f9ff 00000000 00000000, vendor = 0
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
CPU: After vendor init, caps: 0383f9ff 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Celeron (Coppermine) stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([email protected])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfe34a, last bus=5
PCI: Using configuration type 1
PCI: Probing PCI hardware
Unknown bridge resource 0: assuming transparent
Unknown bridge resource 2: assuming transparent
PCI: Using IRQ router ALI [10b9/1533] at 00:07.0
PCI: Found IRQ 11 for device 00:11.0
PCI: Found IRQ 11 for device 00:11.1
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
vesafb: framebuffer at 0xfc000000, mapped to 0xcf80d000, size 16384k
vesafb: mode is 1024x768x16, linelength=2048, pages=9
vesafb: protected mode interface info at c000:77f8
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
block: 464 slots per queue, batch=116
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller on PCI bus 00 dev 20
PCI: No IRQ known for interrupt pin A of device 00:04.0. Please try using pci=biosirq.
ALI15X3: chipset revision 195
ALI15X3: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xeff0-0xeff7, BIOS settings: hda :D MA, hdb :p io
    ide1: BM-DMA at 0xeff8-0xefff, BIOS settings: hdc :D MA, hdd :p io
hda: HITACHI_DK23CA-20, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hdc: DV-28E-B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 39070080 sectors (20004 MB) w/2048KiB Cache, CHS=2432/255/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
 hda: hda1 hda2 < hda5 hda6 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 121k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 280k freed
Adding Swap: 131092k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 11 for device 00:02.0
usb-ohci.c: USB OHCI at membase 0xd085a000, IRQ 11
usb-ohci.c: usb-00:02.0, Acer Laboratories Inc. [ALi] M5237 USB
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide0(3,5), internal journal
ide-floppy driver 0.99.newide
hdc: ATAPI 24X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdc: DMA disabled
/dev/vmmon: Module vmmon: registered with major=10 minor=165 tag=$Name: build-2230 $
/dev/vmmon: Module vmmon: initialized
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
/dev/vmnet: open called by PID 390 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: peer interface eth0 not found, will wait for it to come up
bridge-eth0: attached
/dev/vmnet: open called by PID 404 (vmnet-netifup)
/dev/vmnet: hub 1 does not exist, allocating memory.
/dev/vmnet: port on hub 1 successfully opened
/dev/vmnet: open called by PID 426 (vmnet-netifup)
/dev/vmnet: hub 8 does not exist, allocating memory.
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 435 (vmnet-natd)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 449 (vmnet-dhcpd)
/dev/vmnet: port on hub 8 successfully opened
/dev/vmnet: open called by PID 440 (vmnet-dhcpd)
/dev/vmnet: port on hub 1 successfully opened
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
sb: dsp reset failed.
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
sb: dsp reset failed.
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
sb: dsp reset failed.
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
sb: dsp reset failed.
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: No ISAPnP cards found, trying standard ones...
sb: dsp reset failed.
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root

 


and that link you gave me had an awful lot of confusion involved... i'll have to take a deeper look when it's not 12am.

[edit] message edited due to the unwanted appearance of smileys in the code.

[ November 20, 2002: Message edited by: Calum: Linux Commando ]


voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
is my modem problem solved?
« Reply #3 on: 19 November 2002, 12:08 »
Luckily I still have RH 7.3 on this Latitude laptop (dual booting with RH 8.0). I turned on my irda device and booted it up. I have two serial ports showing in my "dmesg" command:
Code: [Select]

The "ttyS01" is actually my ir port. Also if I type "# /usr/sbin/findchip -v" I get:

Code: [Select]

There is also an "irda" service but I am unsure as to what this is for (# /sbin/chkconfig --list irda). It doesn't want to seem to start on my system under RedHat 7.3 (well it says it starts but it really doesn't).

On the other hand when I boot into RedHat 7.3 that irda service *does* start and a "findchip -v" reports this:

Code: [Select]

Notice it says "Enabled" in RH8 after starting the irda service.

I will have to do more reading to understand what it's for. I think I could actually use my ir port if I had a phone with an ir port in RH 8.0, not sure about 7.3. Along with browsing over that HOWTO I linked you might want to look at /usr/share/doc/irda-utils-0.9.14/README which should be on your system.

I don't know if any of this helps but it might at least tell you if it can see your IR port. Without that you probably won't be able to go any further. Use that "findchip -v" command and see if it sees your IR chip.

[edit]
I think I just figured out what the irda service does. It configures your machine with an "irda" network interface. I just configured my "irda0" network interface with an IP address. If I had another Laptop with an IR port I guess I could have a TCP/IP connection between the laptops through the IR ports.

Wait, I have another old Latitude, I hope it has an IR port. If it does I'll give it a shot. BTW, for your cell phone thing you probably do *not* want the irda service started because you want to use it as a serial port.  Again, this is my first time messing with IR so take what I say with a grain of salt.
[/edit]

[edit2]
Damn, I have RedHat 6.2 installed on my old old Latitude which doesn't seem to support the irda on that box. I wanted to install RedHat 8.0 but I ran into some snags. That machine doesn't have a CD-ROM drive. Only a floppy drive, a 500MB hard drive, my LinkSys PCMCIA ethernet card, and 72MB of RAM.

Without a CD-ROM I had to do a Network install of 6.2 way back when 6.2 just came out by booting from the pcmcia boot disk and installing off my web server. Well, I tried to boot the RedHat 8.0 pcmcia boot disk hoping to do a minimal network install to test out the irda under RedHat 8.0 and it doesn't like my pcmcia so no network.

That leaves me with just a floppy to install with. If I had a bigger hard drive I could  download the CD images to the hard drive and install from there, but a 500MB drive ain't gonna cut it. Oh well, so much for testing my irda network. I think it would have been fun.
[/edit2]

[ November 19, 2002: Message edited by: void main ]

Someone please remove this account. Thanks...