Jump to content

Steve Scrimpshire

OTW
  • Posts

    3587
  • Joined

  • Last visited

Posts posted by Steve Scrimpshire

  1. Man, it would be really helpful to know more details about the functionality. Perl *should* be able to do something like that. I will have to test when school lets out for Xmas.

    Here's some tips on coding perl scripts for XChat:

    http://www.xchat.org/xchatdox2.html

     

    But, it does sound to me from reading it that you would need more in-depth programming to add a panel to XChat.

  2. /dev/hde1 / reiserfs notail 1 1

    /dev/hdh /mnt/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0

    /dev/sdb1 /mnt/data reiserfs user,defaults 1 2

    none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=utf8,sync 0 0

    none /proc proc defaults 0 0

    /dev/hde6 swap swap defaults 0 0

     

    Device Boot Start End Blocks Id System

    /dev/hde1 * 1 3571 28684026 83 Linux

    /dev/hde2 3572 4998 11462377+ 5 Extended

    /dev/hde5 3572 4851 10281568+ 83 Linux

    /dev/hde6 4852 4998 1180746 82 Linux swap / Solaris

     

    I'm a little confused by why your HD is hde, but I think the real problem is that /dev/hde5 (your /home partition?) is not in your fstab.

  3. Still have the exact same problem with ndiswrapper.

     

    Edit: Ok, not the exact same problem. On boot, it sits at 'Configuring network interface' for over a minute and then finishes booting, whereupon I have to do the same trick as with bcm43xx to get an ip. I guess I am stuck with the pain.

     

    Edit Part II - The Two Towers: With bcm43xx, I've narrowed it down to exactly what I have to do manually. I look at iwconfig and it shows the correct essid and enc key, but the AP shows as "Invalid". I have to do:

     

    iwconfig eth1 key <<my key>>

    iwconfig eth1 essid <<my essid>>

     

    Whereupon it now sees the AP, but I still have to do:

    ifdown eth1

    ifup eth1

     

    To get an IP. I've tried to add those steps to /etc/rc.local...no luck

    Tried creating a cronjob to run as root on boot...no luck

    Tried creating a new service to run at S99 for all runlevels...no luck.

    Tried creating a script to run suid root in my Gnome session...no luck...still gives me "Permission denied" for each command.

     

    I'm at a loss.

     

    Edit Part III - The Return of the King: I have to perform this same trick even after the laptop comes out of suspend.

  4. I may wind up going back to ndiswrapper. This card was working great with Mandriva and the bcm43xx module, though. Here's more info:

     

     

    tail -v -f /var/log/messages:

     

    Click on “Configure” and highlight eth1, Select “Properties” and uncheck “Enable” and click “Ok”:

    The bar in systray that was two orange bars is now fully green, but there is no IP:

     

    Oct 19 22:12:47 localhost kernel: [17179787.872000] SoftMAC: Open Authentication completed with 00:13:10:2d:8b:68
    Oct 19 22:14:09 localhost kernel: [17179870.000000] NETDEV WATCHDOG: eth1: transmit timed out
    Oct 19 22:14:09 localhost kernel: [17179870.000000] ACPI: PCI interrupt for device 0000:06:00.0 disabled

     

    Select Properties and recheck “Enable” and Click “Ok”:

    Bar goes back to two orange bars for a few seconds and then becomes all green again and now there is an IP:

     

    Oct 19 22:14:09 localhost kernel: [17179870.000000] ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
    Oct 19 22:14:09 localhost kernel: [17179870.288000] bcm43xx: Controller restarted
    Oct 19 22:14:10 localhost kernel: [17179870.372000] SoftMAC: Open Authentication completed with 00:13:10:2d:8b:68

     

     

     

     

    /var/log/messages on boot:

    Oct 19 22:09:53 localhost kernel: [17179601.936000] Yenta: CardBus bridge found at 0000:00:10.0 [12a3:ab01]
    Oct 19 22:09:53 localhost kernel: [17179601.936000] Yenta: Enabling burst memory read transactions
    Oct 19 22:09:53 localhost kernel: [17179601.936000] Yenta: Using CSCINT to route CSC interrupts to PCI
    Oct 19 22:09:53 localhost kernel: [17179601.936000] Yenta: Routing CardBus interrupts to PCI
    Oct 19 22:09:53 localhost kernel: [17179601.936000] Yenta TI: socket 0000:00:10.0, mfunc 0x01000002, devctl 0x60
    Oct 19 22:09:53 localhost kernel: [17179602.168000] Yenta: ISA IRQ mask 0x0000, PCI irq 11
    Oct 19 22:09:53 localhost kernel: [17179602.168000] Socket status: 30000010
    Oct 19 22:09:53 localhost kernel: [17179602.168000] ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
    Oct 19 22:09:53 localhost kernel: [17179602.168000] Yenta: CardBus bridge found at 0000:00:11.0 [1179:0001]
    Oct 19 22:09:53 localhost kernel: [17179602.296000] Yenta: ISA IRQ mask 0x0438, PCI irq 11
    Oct 19 22:09:53 localhost kernel: [17179602.296000] Socket status: 30000020
    Oct 19 22:09:53 localhost kernel: [17179602.804000] pccard: PCMCIA card inserted into slot 0
    Oct 19 22:09:53 localhost kernel: [17179602.944000] pccard: CardBus card inserted into slot 1
    Oct 19 22:09:53 localhost kernel: [17179603.036000] ieee80211: 802.11 data/management/control stack, git-1.1.7
    Oct 19 22:09:53 localhost kernel: [17179603.036000] ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
    Oct 19 22:09:53 localhost kernel: [17179603.080000] bcm43xx driver
    Oct 19 22:09:53 localhost kernel: [17179603.080000] PCI: Enabling device 0000:06:00.0 (0000 -> 0002)
    Oct 19 22:09:53 localhost kernel: [17179603.080000] ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
    Oct 19 22:09:53 localhost kernel: [17179603.188000] cs: IO port probe 0x100-0x3af: excluding 0x1e0-0x1e7 0x200-0x207 0x220-0x22f 0x330-0x337 0x388-0x38f
    Oct 19 22:09:53 localhost kernel: [17179603.192000] cs: IO port probe 0x3e0-0x4ff: excluding 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
    Oct 19 22:09:53 localhost kernel: [17179603.192000] cs: IO port probe 0x820-0x8ff: clean.
    Oct 19 22:09:53 localhost kernel: [17179603.192000] cs: IO port probe 0xc00-0xcf7: clean.
    Oct 19 22:09:53 localhost kernel: [17179603.196000] cs: IO port probe 0xa00-0xaff: clean.
    Oct 19 22:09:53 localhost kernel: [17179603.196000] cs: IO port probe 0x100-0x3af: excluding 0x1e0-0x1e7 0x200-0x207 0x220-0x22f 0x330-0x337 0x388-0x38f
    Oct 19 22:09:53 localhost kernel: [17179603.200000] cs: IO port probe 0x3e0-0x4ff: excluding 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
    Oct 19 22:09:53 localhost kernel: [17179603.200000] cs: IO port probe 0x820-0x8ff: clean.
    Oct 19 22:09:53 localhost kernel: [17179603.200000] cs: IO port probe 0xc00-0xcf7: clean.
    Oct 19 22:09:53 localhost kernel: [17179603.200000] cs: IO port probe 0xa00-0xaff: clean.
    Oct 19 22:09:53 localhost kernel: [17179603.200000] cs: memory probe 0xa0000000-0xa0ffffff: clean.
    Oct 19 22:09:53 localhost kernel: [17179603.212000] pcmcia: registering new device pcmcia0.0
    Oct 19 22:09:53 localhost kernel: [17179603.524000] hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline@cc.hut.fi>)

     

    Socket 0 is builtin WLAN, which I don't use because it is only 11M

    Socket 1 is addon card (Motorola WN825G):

     

    root@omar-laptop:/home/ohms# cardctl ident
    Socket 0:
     product info: "TOSHIBA", "Wireless LAN Card", "Version 01.01", ""
     manfid: 0x0156, 0x0002
     function: 6 (network)
    Socket 1:
     product info: "Broadcom", "802.11b CardBus", "8.0"
     manfid: 0x02d0, 0x0406
     function: 6 (network)
    
    root@omar-laptop:/home/ohms# cat /proc/interrupts 
    	   CPU0	   
     0:	 289182		  XT-PIC  timer
     1:	   2234		  XT-PIC  i8042
     2:		  0		  XT-PIC  cascade
     7:		  4		  XT-PIC  parport0
     8:		  3		  XT-PIC  rtc
     9:		 75		  XT-PIC  acpi
    11:	  62046		  XT-PIC  ohci_hcd:usb1, ohci_hcd:usb2, ehci_hcd:usb3, ALI 5451, yenta, yenta, pcmcia0.0, bcm43xx
    12:		107		  XT-PIC  i8042
    14:	  23404		  XT-PIC  ide0
    15:	  18848		  XT-PIC  ide1
    NMI:		  0 
    LOC:		  0 
    ERR:		  0
    MIS:		  0

     

    Why can I not see 3-6 or 13? Even after card is successfully started. From the looks of the messages when it starts it is trying to use IRQ 6, but that becomes disabled and it switches to IRQ 11. Am I reading that right?

     

    root@omar-laptop:/proc/irq/11/pcmcia0.0# cat /proc/ioports | grep pcm && cat /proc/ioports | grep PCI
    0100-013f : pcmcia_socket0
    0cf8-0cff : PCI conf1
    1000-10ff : PCI CardBus #02
    1400-14ff : PCI CardBus #02
    1800-18ff : PCI CardBus #06
    1c00-1cff : PCI CardBus #06
    
    root@omar-laptop:/proc/irq/11/pcmcia0.0# cat /proc/iomem | grep pcm && cat /proc/ioports | grep PC
    a0000000-a0000fff : pcmcia_socket0
    0cf8-0cff : PCI conf1
    1000-10ff : PCI CardBus #02
    1400-14ff : PCI CardBus #02
    1800-18ff : PCI CardBus #06
    1c00-1cff : PCI CardBus #06

     

    I've tried an append in grub.conf of pci=routeirq but that did no good.

     

    I've got PnP OS “No” set in the BIOS.

  5. I have a Motorola WN825G pcmcia card and had no problems with it under Mandriva, but I installed Ubuntu recently and now the interface doesn't get an ip at boot. If I click the wireless applet in Gnome, it says that eth1 is active, but it has no ip and iwconfig shows the AP as Invalid. If I then click Configure, highlight eth1, select properties and then uncheck 'enable this device', click 'ok', highlight eth1, select properties, check 'enable this device', it takes a second or two and gets associated with the AP with an IP. Trying one step less and 'Deactivate', then 'Activate' doesn't work...it takes about a minute to try to associate, the link light on the card never lights or flashes and it eventually just closes the 'Activating...' window and doesn't get an IP.

     

    root@omar-laptop:/home/ohms# uname -a
    Linux omar-laptop 2.6.15-27-386 #1 PREEMPT Sat Sep 16 01:51:59 UTC 2006 i686 GNU/Linux
    root@omar-laptop:/home/ohms# cat /etc/network/interfaces 
    auto lo
    iface lo inet loopback
    
    auto eth1
    iface eth1 inet dhcp
    wireless-essid <<my essid>>
    wireless-key <<my key>>

     

    Any ideas?

  6. When I run irssi inside screen (doesn't matter what terminal emulator...Eterm, xterm, etc) somehow I have the wrong encoding. See here what I mean:

    post-835-1160108029_thumb.jpg

     

    I also notice when I run luit, I get:

    [omar@laptop ~]$ luit
    Warning: couldn't find charset data for locale en_US.UTF-8; using ISO 8859-1.

     

    (whether inside screen or not).

     

    [omar@laptop ~]$ locale
    LANG=en_US
    LC_CTYPE=en_US.UTF-8
    LC_NUMERIC=en_US.UTF-8
    LC_TIME=en_US.UTF-8
    LC_COLLATE=en_US.UTF-8
    LC_MONETARY=en_US.UTF-8
    LC_MESSAGES=en_US.UTF-8
    LC_PAPER=en_US.UTF-8
    LC_NAME=en_US.UTF-8
    LC_ADDRESS=en_US.UTF-8
    LC_TELEPHONE=en_US.UTF-8
    LC_MEASUREMENT=en_US.UTF-8
    LC_IDENTIFICATION=en_US.UTF-8
    LC_ALL=

     

    I have this problem with mdv's screen pkg and downloading and compiling screen. Same problem whether I remove my ~/.screenrc or not. Any ideas? (Haven't noticed this problem with anything else). Once again note that outside of screen, I don't have the encoding problem and those funny symbols are dashes (look like short dashes though). Outside of screen, though, irssi has a different problem...when the screen fills up, instead of the text scrolling, the last line just keeps getting replaced by the new line typed in...this has to do with ncurses and a bug report has been filed on it for a long time. They have it set as resolved....haha:

    http://qa.mandriva.com/show_bug.cgi?id=7209

  7. If you are using udev, this should work (I really need to know what device name the iPod is, though). In

     

    /etc/udev/rules.d/60-dynamic.rules

     

    add this line (assuming the iPod is sda<<something>>):

     

    KERNEL=="sda[0-9]*", RUN+="/path/to/your/executable/script"

     

    This is on Mandriva and it worked for my SanDisk U3 Cruzer Micro. No need for a restart of the service or a reboot.

  8. If I remember correctly, as of 2006, this command:

    urpmi --auto-update

    is the same as

    urpmi.update -a && urpmi --auto-select

    (This is on my box that is running 2007, but I think the option was there in 2006, too):

     < root /home/omar > man urpmi
    <<snip>>
    --auto-update
    	   Like --auto-select, but also updates all relevant media before
    	   selection of upgradeable packages is made. This avoids a previous
    	   call to "urpmi.update".
    <<snip>>

  9. why do you like to talk about people in the third person when they are obviously going to be reading this thread, stevie boy? you can at least call him by his name instead of referring to him as "poster"

     

    Well, because, when I started typing, the name 'acegap' seemed pretty gender-neutral to me. I began to use 'he' and 'his' only when absolutely necessary in my post (if you notice). I've made the mistake of assuming gender before...only to be wrong. :P

  10. One would think that the name MandrivaUsers would be enough.

     

    I'm still not certain what the poster is complaining about. Is the poster complaining that when the Fax utility (for example) is removed, it removes many other pkgs that it was a dependency of that the poster wanted to keep?

     

    Edit: I just took a look at the poster's other posts in the forums. He is not the troll it appears from this topic (y'all should look).

    • [1] He has a USB Speedtouch modem (that's enough to frustrate Ghandi).
      [2] A few answers to his questions were not 'newbie-ized'.
      [3] He was relatively friendly and grateful in the posts I read.

    BTW: The Alcatel Speedtouch is a pain in the ***. Not really Mandriva's fault...Alcatel's.

    Konqueror shows large icons by default, because Mandriva's approach (and KDE's) is to be newbie-friendly. Icons == more intuitive than text in their opinion.

    (These are comments from me for his other posts...)

  11. Either I am completely misunderstanding how this is supposed to work, or it just doesn't.

    opera --remote 'openURL(http://url.com, new-page)'

    works fine, but I cannot get it to raise a lowered window.

    What's up?

    < root /home/omar > rpm -qa | grep opera

    opera-9.02-20060919.6

     

    Edit: Some of the docs say the command is 'opera -remote' and others say 'opera --remote' and both work for openURL. and lower() also doesn't work. I'm running Fluxbox if that matters (it also doesn't work in Gnome).

×
×
  • Create New...