Jump to content

boatman9

Members
  • Posts

    251
  • Joined

  • Last visited

Posts posted by boatman9

  1. I don't know a lot about the Mandriva package repository system, however I have some notes and a procedure that worked for me. Of course all commands were done as root.

     

    I used the following commands in the order shown.

     

    urpmi.removemedia -a

    (reinitialize urpmi's setup)

     

    Next I went to http://easyurpmi.zarb.org/ and reviewed the options, and chose the command line method.

     

    urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'

    urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/$RELEASE.$ARCH.list'

     

    urpmi.update -a

    (to get the most recent package lists)

     

    urpmi --auto-select --auto --sortmedia PLF

    (to update packages with preference to any PLF sources)

     

    urpmi --auto --sortmedia PLF codeina flash-player-plugin ffmpeg mencoder mplayer mplayer-gui vlc win32-codecs libdvdcss2 gstreamer0.10-a52dec gstreamer0.10-mms gstreamer0.10-pitfdll gstreamer0.10-plugins-ugly gstreamer0.10-amrnb kaffeine

    (adds any packages you may want, prefer PLF source if available)

     

    urpmi --clean

    (clears your local rpm package directory in case you want to free some disk space)

  2. I am looking to do something like that. When not at home I'll be connected to the Internet through usb and my mobile phone. I would like to connect a VoIP phone adapter to my laptop computer's Ethernet port. I saw a post here that's marked "solved". Someone there must know how to get the job done.

     

    I have only one Ethernet port in my computer. When at home I want to connect an Ethernet switch to the Ethernet port and use the same physical port for two different subnets, one subnet to connect to the broadband modem, and the other to connect to a VoIP phone and another computer on my LAN. I know this can be done but I'm not sure how to do it.

  3. The ipv6 setting in Firefox was already off. I set /etc/modprobe.conf to be:

     

    install scsi_hostadapter /sbin/modprobe ata_piix; /sbin/modprobe ahci; /bin/true
    install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
    options snd-ac97-codec power_save=1
    alias eth1 orinoco_cs
    # install ipv6 /bin/true
    alias net-pf-10 off

    and rebooted, but problem persists. Maybe it's time to install the most recent Mandriva.

  4. /etc/sysconfig/network is merely one line:

    NETWORKING=yes

     

    /etc/modprobe.conf contains the following lines.

    install scsi_hostadapter /sbin/modprobe ata_piix; /sbin/modprobe ahci; /bin/true
    install usb-interface /sbin/modprobe ehci_hcd; /sbin/modprobe ohci_hcd; /bin/true
    options snd-ac97-codec power_save=1
    alias eth1 orinoco_cs
    install ipv6 /bin/true

    Should I delete the last line or change it to "install ipv6 /bin/false" ?

  5. Firefox has become slow to load pages from sites which have third party links, such as ebay. Firefox seems to stall while loading extra items commonly found on ebay pages, such as things from google analytics and pn1.adserver.yahoo.com. I am using Firefox 3.0.10 and recently did a full package update. The problem may have started immediately after the update, I'm not sure.

     

    Anyone else have this problem?

  6. This mencoder command line will convert videos to the 3gp format used in many mobile phones. Be sure to adjust the crop parameters as appropriate for the source video.

    mencoder -vf crop=374:306:69:43,scale=176:144,hqdn3d=4:3:6 -af channels=1,resample=8000:0:2 -srate 8000 -oac lavc -ovc lavc -lavcopts vcodec=h263:mbd=2:vbitrate=160:acodec=libamr_nb:abitrate=12200 -of lavf -o out-file.3gp in-file.flv

    A similar conversion can be done with ffmpeg:

    ffmpeg -i in-file.mpeg -s qcif -vcodec h263 -acodec libfaac -ac 1 -ar 8000 -ab 32000 out-file.3gp

  7. Thanks. :thumbs: Seems like just the lower of the two options, "Switch to custom media selection (not recommended)", is required, no?

     

    Below are the commands I intend to use.

     

    urpmi.removemedia -a

    urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Free' '../../../2009.0/free/release/binary/i586'

    urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Non-free' '../../../2009.0/non-free/release/binary/i586'

    urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Free Backports' '../../../2009.0/free/backports/binary/i586'

    urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.0.i586.list' 'PLF Non-free Backports' '../../../2009.0/non-free/backports/binary/i586'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Main' 'media/main/release'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Contrib' 'media/contrib/release'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Non-free' 'media/non-free/release'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Main Updates' 'media/main/updates'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Contrib Updates' 'media/contrib/updates'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Non-free Updates' 'media/non-free/updates'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Main Backports' 'media/main/backports'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Contrib Backports' 'media/contrib/backports'

    urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.0.i586.list' 'Non-free Backports' 'media/non-free/backports'

  8. I am having a similar problem, cannot add backports. I click on that little box but I can't get the tick mark to appear there. :huh:

     

    I wonder if it has something to do with the way I added the repositories. I did it from command line, in three lines;

     

    urpmi.removemedia -a

    urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/$RELEASE.$ARCH.list'

    urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'

  9. My 2009.0 installation has three instances of artsd running after it boots. At least one of the three is preventing one or more other programs from having access to sound output.

     

    $ /usr/sbin/lsof | grep snd
    gconf-hel 3728 user  mem	   REG		8,3  1809984  230949 /usr/lib/libsndfile.so.1.0.18
    artsd	 4541 user  mem	   CHR	 116,16			 3015 /dev/snd/pcmC0D0p
    artsd	 4541 user	8r	  CHR	 116,33	  0t0	2769 /dev/snd/timer
    artsd	 4541 user	9u	  CHR	 116,16	  0t0	3015 /dev/snd/pcmC0D0p
    kmix	  4548 user   10u	  CHR	  116,0	  0t0	3062 /dev/snd/controlC0

    In order to run certain programs which use sound I must first run the following command to remove the three instances of artsd.

     

    killall -TERM artsd

    Is the presence of artsd immediately after boot a bug in Mandriva 2009.0? How can I automatically remove artsd so that other programs can use the sound system without me having to fix things up manually after each boot?

  10. You should try wvdial. Although it runs in a root console you don't have to retype the root password to reconnect. Someone gave me instructions for wvdial with AT+T as follows:

     

    Start this way:

    # tail -f /var/log/messages

     

    Plug in phone and watch to see what you get. Hopefully you see something like /dev/ttyACM0. Some /dev/tty for sure.

     

    Now check to see if you have wvdial. If not, do apt-get install wvdial. You can use wvdialconf to get going or copy and adjust my /etc/wvdial.conf like this:

     

    [Dialer Defaults]

    Init1 = ATZ

    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

    Modem Type = USB Modem

    Phone = *99#

    ISDN = 0

    Password = CINGULAR1

    Username = ISPDA@CINGULARGPRS.COM

    ; Username = ISP@CINGULARGPRS.COM

    ; Username = WAP@CINGULARGPRS.COM

    Modem = /dev/ttyACM0

    Baud = 460800

     

    Note that the modem init string may need adjustment for yours if it doesn't work, and Modem port needs to match. Plug it in and run wvdial as root or sudo wvdial and you should be connected shortly. There are other dialers but wvdial has been serving me well for years. Verify interface is up with "ifconfig ppp0" and take down wvdial by killing process or ^c at command line.

    Instead of tail, I prefer dmeg. I start with dmesg -c to clear what's already logged, then plug in the device and type dmesg without the -c.

×
×
  • Create New...