Jump to content

kmc77

OTW
  • Posts

    601
  • Joined

  • Last visited

Posts posted by kmc77

  1. I fixed it, but thanks for offer iph. Some weird issues with iwconfig and gui. Neither were actually configuring my options and ndiswraper -m wasn't correctly configuring an alias in modprobe. For any others who may experience this problem, here is how I was able to resolve the issue (I was able to piece the solution together, thanks to numerous post on fedoraforum.org)

     

    Install ndiswrapper.

     

    Once installed:

     

    /usr/sbin/ndiswrapper -i /your/wireless/driver/location

    /usr/sbin/ndiswrapper -l (to find out if file was loaded)

    modprobe ndiswrapper

    dmesg (see if there are any errors with your setup)

     

     

    Edit /etc/modprobe.conf and add these lines

     

    alias eth1 ndiswrapper

    options ndiswrapper if_name=eth1

    (or whatever you want your connection to be called. ((eth5, wlan1, etc.))

     

    Create the file: /etc/sysconfig/network-scripts/ifcfg-eth1 and add these lines

     

    IPV6INIT=no

    ONBOOT=yes

    USERCTL=yes

    PEERDNS=yes

    GATEWAY=

    TYPE=wireless

    DEVICE=eth1

    HWADDR=

    BOOTPROTO=dhcp

    NETMASK=

    DHCP_HOSTNAME=

    IPADDR=

    DOMAIN=

    ESSID=(your essid)

    CHANNEL=6

    MODE=Managed

    NETWORK_TYPE=g

    #RATE=54Mb/s

    RATE=Auto

    (of course, change any of this to match your network setup)

     

    Create the file: /etc/sysconfig/network-scripts/keys-eth1 and add this line (if your network has no password security, leave password blank)

     

    KEY=(your key)

     

    Then: ifup eth1

  2. Ok, the FC fanatics got me excited about FC5, so I downloaded and installed it this weekend on my laptop. Installed without a hitch, and runs well. I have decided to make this my laptop os, that is, if I can get ndiswrapper running and my wireless working. I've had the wireless working on this laptop with Ubuntu, Mepis and PCLOS using ndiswrapper, so I know everything (ndiswrapper, bcmwl5 drivers, etc.) works.

     

    Here's where I am: Ndiswrapper installed, driver installed and recognized, wlan0/ndiswrapper added as a device in network options.

    Now the problem:

     

    Attempting to activate both with gui and cl (ifup) results in this error:

    Error for wireless request "Set Encode" (8B2A) :
    SET failed on device wlan0; Invalid argument.
    
    Determining IP information for wlan0... failed; no link present.  Check cable?

     

    output of iwconfig:

    [root@fedora ~]# iwconfig
    lo		no wireless extensions.
    
    eth0	  no wireless extensions.
    
    sit0	  no wireless extensions.
    
    wlan0	 IEEE 802.11g  ESSID:off/any  Nickname:"fedora.box.linux.com"
    	  Mode:Auto  Frequency:2.412 GHz  Access Point: Not-Associated
    	  Bit Rate=54 Mb/s   Tx-Power:16 dBm
    	  RTS thr=2347 B   Fragment thr=2346 B
    	  Encryption key:off
    	  Power Management:off
    	  Link Quality:0  Signal level:0  Noise level:0
    	  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
    	  Tx excessive retries:0  Invalid misc:0   Missed beacon:0

    output of ifconfig:

    [root@fedora ~]# ifconfig
    eth0	  Link encap:Ethernet  HWaddr 00:03:25:08:6D:F2
    	  inet addr:10.100.1.101  Bcast:10.100.1.255  Mask:255.255.255.0
    	  inet6 addr: fe80::203:25ff:fe08:6df2/64 Scope:Link
    	  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
    	  RX packets:38380 errors:0 dropped:0 overruns:0 frame:0
    	  TX packets:4142 errors:0 dropped:0 overruns:0 carrier:0
    	  collisions:23 txqueuelen:1000
    	  RX bytes:17775709 (16.9 MiB)  TX bytes:717826 (701.0 KiB)
    	  Interrupt:11
    
    lo		Link encap:Local Loopback
    	  inet addr:127.0.0.1  Mask:255.0.0.0
    	  inet6 addr: ::1/128 Scope:Host
    	  UP LOOPBACK RUNNING  MTU:16436  Metric:1
    	  RX packets:2339 errors:0 dropped:0 overruns:0 frame:0
    	  TX packets:2339 errors:0 dropped:0 overruns:0 carrier:0
    	  collisions:0 txqueuelen:0
    	  RX bytes:3010283 (2.8 MiB)  TX bytes:3010283 (2.8 MiB)

    Relevant bits of dmesg output:

    ADDRCONF(NETDEV_UP): eth0: link is not ready
    ndiswrapper version 1.10 loaded (preempt=no,smp=no)
    ndiswrapper: driver bcmwl5 (Broadcom,06/13/2003, 3.20.23.0) loaded
    ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10ADDRCONF(NETDEV_UP): eth0: link is not ready
    ndiswrapper version 1.10 loaded (preempt=no,smp=no)
    ndiswrapper: driver bcmwl5 (Broadcom,06/13/2003, 3.20.23.0) loaded
    ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
    ndiswrapper: using irq 10
    wlan0: vendor: ''
    wlan0: ndiswrapper ethernet device 00:90:96:59:b3:86 using driver bcmwl5, 14E4:4320.5.conf
    wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
    ndiswrapper (iw_set_encr:892): removing encryption key 0 failed (C0010015) 
    ndiswrapper: using irq 10
    wlan0: vendor: ''
    wlan0: ndiswrapper ethernet device 00:90:96:59:b3:86 using driver bcmwl5, 14E4:4320.5.conf
    wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
    ndiswrapper (iw_set_encr:892): removing encryption key 0 failed (C0010015)

     

    Been following some guides/posts at fedoraforum.org with no luck. I'd like to keep FC5 on this laptop. Any help would be appreciated.

  3. PCLOS & Mepis

     

    PCLOS, because it runs well on my laptop, and the live cd that I use to introduce people to linux runs flawlessly.

     

    Mepis, because every computer that I own connects to my network wirelessly, and Mepis has never failed to recognize my cards (5 diffrent systems, and 2 laptops) and have the network running at first boot.

  4. cybrjackle, you're awesome. That page that you coppied had the solution.

     

    I had to uninstall the libmp4v2 and the faac (along with about 20 other apps that depended upon them) and replace them with the mpeg4ip. I was then able to compile gtkpod with support for the m4v video files. Now I just need to go back and reinstall mplayer, k3b and ffmpeg, and everything will be good.

     

    Thanks again cybr.

  5. rpm -ql and rpm -qf don't seem to do anything.

     

    whereis returned this:

    [kevin@localhost ~]$ whereis pkgconfig
    pkgconfig: /usr/lib/pkgconfig /usr/local/lib/pkgconfig
    [kevin@localhost ~]$ whereis pkg-config
    pkg-config: /usr/bin/pkg-config /usr/share/man/man1/pkg-config.1.bz2

    And

    AC_SEARCH_LIBS=/usr/include/ ./configure --prefix=/home/kevin/tar/gtkpod-0.99.4

    returns with the same configuration (still missing libmp4v2).

  6. Unfortunately for me, all those files are already installed. I even tried this tidbit from gtkpod.org

    Installed libmp4v2 or libgpod from source to /usr/local/lib, but

    gtkpod is unable to locate libmp4.so.0 or libgpod.so.0

     

     

    If you install to /usr/local/lib please don't forget to add the path

    to LD_LIBRARY_PATH:

     

    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

    export LD_LIBRARY_PATH

     

    You can add those lines to your ~/.bashrc or add it globally to

    /etc/profile.

    But had no luck with it. Maybe PCLOS just hates me :D . I just can't figure out why it doesn't recognize the files.
  7. You have all the aac/mpeg stuff you need?

     

    Maybe you played around with it and did something else, try "make clean" and then ./confgure --prefix=$HOME/apps (or were ever you through your stuff)

     

    I can't find anything that I'm missing.

    I did notice that when I uninstall libmp4v2, the configure hits that point and immediately marks "no", but when I have it installed, and it hits the same point, it pauses for a few seconds, like it knows it's there somewhere but can't find it.

    checking for id3_frame_field in -lid3tag... yes
    checking for library containing MP4FileInfo... no
    checking for library containing bind... none required

    GTK2 version .........: 2.8.9
    GLib2/GThread version : 2.8.4
    id3tag lib ...........: yes
    mp4v2 ................: *** no -- will build without aac support
    NLS/gettext ..........: yes
    
    Now type 'make' to build gtkpod 0.99.4,
    and then 'make install' for installation.

    Can I direct the configure process to look in a specific place for the mp4v2 lib?

     

    [root@localhost gtkpod-0.99.4]# whereis libmp4v2
    libmp4v2: /usr/lib/libmp4v2.a /usr/lib/libmp4v2.la /usr/lib/libmp4v2.so

  8. Ok, some computer wierdness. Went back and ran ./configure to get that info and just for "fun" did another make..... and it completed without errors, as did make install. Only problem now is that after looking at the final configure info, it compiled without mp4v2 lib. What happened? The first time I configured it refused to procede, untill I loaded mp4v2 lib, now, even though it's there, gtkpod compiles without. What did I do and what can I do?

     

    BTW cybrjackle, my configure ends almost identical to yours, minus the mp4v part.

  9. Here's the prob. My wife bought me an Ipod Video for Christmas. At the time, there was really no support for the video functions in any of the Linux Itunes equivalents. To install video on my Ipod, I was forced to create an XP partition, just to run Itunes. Now I see that gtkpod supports mv4. The only problem is, I can't just synaptic the gtkpod package, because it has to be compiled with the mv4 lib. I've installed the mv4 lib, downloaded gtkpod-0.99.4 and ./configured it. No errors present for the configure, but when I go to make the app., I get this:

     

    [root@localhost gtkpod-0.99.4]# make
    make  all-recursive
    make[1]: Entering directory `/home/kevin/tar/gtkpod-0.99.4'
    Making all in src
    make[2]: Entering directory `/home/kevin/tar/gtkpod-0.99.4/src'
    make  all-am
    make[3]: Entering directory `/home/kevin/tar/gtkpod-0.99.4/src'
    if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gpod-1.0 -DMOUNT_BIN=\""/bin/mount\"" -DUMOUNT_BIN=\""/bin/umount\"" -DEJECT_BIN=\""@EJECT@\"" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\"	-pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/gpod-1.0   -g -O2 -Wall -MT charset.o -MD -MP -MF ".deps/charset.Tpo" \
     -c -o charset.o `test -f 'charset.c' || echo './'`charset.c; \
    then mv -f ".deps/charset.Tpo" ".deps/charset.Po"; \
    else rm -f ".deps/charset.Tpo"; exit 1; \
    fi
    In file included from /usr/include/gtk-2.0/gdk/gdkcairo.h:25,
    			 from /usr/include/gtk-2.0/gdk/gdk.h:30,
    			 from /usr/include/gtk-2.0/gtk/gtk.h:31,
    			 from charset.c:35:
    /usr/include/pango-1.0/pango/pangocairo.h:66: warning: type defaults to `int' in declaration of `cairo_font_options_t'
    /usr/include/pango-1.0/pango/pangocairo.h:66: error: syntax error before '*' token
    /usr/include/pango-1.0/pango/pangocairo.h:67: error: syntax error before '*' token
    /usr/include/pango-1.0/pango/pangocairo.h:67: warning: type defaults to `int' in declaration of `pango_cairo_context_get_font_options'
    /usr/include/pango-1.0/pango/pangocairo.h:67: warning: data definition has no type or storage class
    In file included from /usr/include/gtk-2.0/gdk/gdk.h:50,
    			 from /usr/include/gtk-2.0/gtk/gtk.h:31,
    			 from charset.c:35:
    /usr/include/gtk-2.0/gdk/gdkscreen.h:51: error: syntax error before "cairo_font_options_t"
    /usr/include/gtk-2.0/gdk/gdkscreen.h:51: warning: no semicolon at end of struct or union
    /usr/include/gtk-2.0/gdk/gdkscreen.h:53: error: syntax error before '}' token
    /usr/include/gtk-2.0/gdk/gdkscreen.h:106: warning: type defaults to `int' in declaration of `cairo_font_options_t'
    /usr/include/gtk-2.0/gdk/gdkscreen.h:106: error: syntax error before '*' token
    /usr/include/gtk-2.0/gdk/gdkscreen.h:107: error: syntax error before '*' token
    /usr/include/gtk-2.0/gdk/gdkscreen.h:107: warning: type defaults to `int' in declaration of `gdk_screen_get_font_options_libgtk_only'
    /usr/include/gtk-2.0/gdk/gdkscreen.h:107: warning: data definition has no type or storage class
    make[3]: *** [charset.o] Error 1
    make[3]: Leaving directory `/home/kevin/tar/gtkpod-0.99.4/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/kevin/tar/gtkpod-0.99.4/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/kevin/tar/gtkpod-0.99.4'
    make: *** [all] Error 2

     

    Now, I rarely compile anything, and when I do, I tend to just find another app if it doesn't compile correctly, but gtkpod seems to be my best bet in getting rid of that XP partition again. If anyone has any advice that would help resolve this, it would be greatly appreciated.

×
×
  • Create New...