OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: adf on July 13, 2006, 01:39:29 am

Title: How Do I Add Feeds?
Post by: adf on July 13, 2006, 01:39:29 am
I've flashed to OZ/GPE again. This time I'll stay longer and get the hang of it better.

So far it is pretty good. runs great, etc. Seem to have most of what I want and makes the other stuff seem possible.

The GPE gui packagemanager is pretty, but still has some horrible back-end issues.

Totem crashes.  What is used for Audio/Video gui? (mplayer works fine, but no gui--hard to operate in the car)

Sudo is giving me a must be setuid root error, despite setting up my user in visudo--this is a permissions thing for sudo itself? Where is that handled? group permissions?

Mi wifi showed up on eth0-- I don't really care what it calls itself--easier use of multple profiles per network device would be nice, but working without me having to mess with it is nice too.

Anyway, to get to the point. Some packages have perl or python as dependencies.  The required stuff is in th perl and python feeds.

My feed listing seems to be a series of package lists in /var/lib/ipk.  Nice and tidy, a good approach, I think.

However, because it is not just adding urls to ipkg.conf, and because the gui package manager doesn't seem to wand to do anyhting after I enter the url from the mirror at ewi, I seem to be kinda stuck.  I'm ssure this is simple once ya know what's going on---anyone care to fill me in?
Title: How Do I Add Feeds?
Post by: koen on July 13, 2006, 02:25:57 am
Quote
Sudo is giving me a must be setuid root error, despite setting up my user in visudo--this is a permissions thing for sudo itself? Where is that handled? group permissions?

Try 'su -' and file a bug for the sudo behaviour

Quote
Mi wifi showed up on eth0-- I don't really care what it calls itself--easier use of multple profiles per network device would be nice, but working without me having to mess with it is nice too.

Another victim of orinoco drivers? Paste 'cardctl ident' here and hrw can see if your card needs orinoco or hostap drivers


Quote
My feed listing seems to be a series of package lists in /var/lib/ipk.  Nice and tidy, a good approach, I think.

However, because it is not just adding urls to ipkg.conf,
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134962\"][{POST_SNAPBACK}][/a][/div]


Right, all feeds are in /etc/ipkg/<name>.conf. Add your feed ('echo "src/gz <name> <uri>" > /etc/ipkg/<name>.conf', and file a bug for the packagemanager.

If it doesn't work for your -> file a bug, the developers can then argue if it's intended or not. Forums are not bugtrackers.
Title: How Do I Add Feeds?
Post by: Meanie on July 13, 2006, 03:12:04 am
Quote
I've flashed to OZ/GPE again. This time I'll stay longer and get the hang of it better.

So far it is pretty good. runs great, etc. Seem to have most of what I want and makes the other stuff seem possible.

The GPE gui packagemanager is pretty, but still has some horrible back-end issues.

Totem crashes.  What is used for Audio/Video gui? (mplayer works fine, but no gui--hard to operate in the car)

Sudo is giving me a must be setuid root error, despite setting up my user in visudo--this is a permissions thing for sudo itself? Where is that handled? group permissions?

Mi wifi showed up on eth0-- I don't really care what it calls itself--easier use of multple profiles per network device would be nice, but working without me having to mess with it is nice too.

Anyway, to get to the point. Some packages have perl or python as dependencies.  The required stuff is in th perl and python feeds.

My feed listing seems to be a series of package lists in /var/lib/ipk.  Nice and tidy, a good approach, I think.

However, because it is not just adding urls to ipkg.conf, and because the gui package manager doesn't seem to wand to do anyhting after I enter the url from the mirror at ewi, I seem to be kinda stuck.  I'm ssure this is simple once ya know what's going on---anyone care to fill me in?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134962\"][{POST_SNAPBACK}][/a][/div]


chmod 1755  /usr/bin/sudo as root user should fix it, or chmod +s /usr/bin/sudo
Title: How Do I Add Feeds?
Post by: adf on July 13, 2006, 03:31:12 am
don't have the Z on hand, but I think it SHould be using hostap drivers (ambicom rest of info is with Z.) certainly it used hostap with pdaxrom, and I think cacko (it's been a while)

The wireless actually connects and transfers data just fine, thought i'd mention the eth0 thing as something that might be a general issue

Changing permisions for sudo sound like the right idea.

echoing the tgz package lists seem like the way to go.

I'm not trying to post particular bugs re the gpe package manager.  it rarely succeeds at any task assigned it, usually locks up and just dies.  It has been this way for several releases.  (same behavior on 2 Zs probably 3 different OZ releases). Most of the gpe stuff is getting to be really nice. I'm surprised the gpe folks haven't taken the package manager apart and done it over, frankly. But posting a bug report everytime the package manager froze trying to handle a dependency (which is every time the package manager tries to handle dependencies as far as I can see) would sort of be demoing the life of sisysphus, wouldn't it?

In the meantime, ipkg works, the dependencies are handled well, and the gui packagemanager serves as a nice menu of what's available to install via ipk. all in all gpe is pretty good.
Title: How Do I Add Feeds?
Post by: koen on July 13, 2006, 03:47:44 am
Quote
don't have the Z on hand, but I think it SHould be using hostap drivers (ambicom rest of info is with Z.) certainly it used hostap with pdaxrom, and I think cacko (it's been a while)

The wireless actually connects and transfers data just fine, thought i'd mention the eth0 thing as something that might be a general issue
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=134975\")

Yes, you're another victim of the orinoco screwup. The situation is that both orinoco and hostap claim the wifi card, while orinoco is vastly inferior to hostap. I always do 'ipkg remove kernel-module-orinoco -recursive' to get back my precious hostap. Paste 'cardctl ident' and alert hrw


PS: see the thread in [a href=\"http://www.mail-archive.com/netdev@vger.kernel.org/msg12271.html]http://www.mail-archive.com/netdev@vger.ke...g/msg12271.html[/url] for some background info
Title: How Do I Add Feeds?
Post by: adf on July 13, 2006, 03:53:11 am
I'll send it tomorow --getting late here. thanks
Title: How Do I Add Feeds?
Post by: adf on July 13, 2006, 02:41:58 pm
cardctl ident on my ambicom wifi card:

Socket 1:
    product info "Ambicom". "WL1100C 802.11 CF-Card, "2.2"
    manfid: 0xd601, 0x0002
    function: 6 (network)


edit:  chmod +s fixed sudo
         I have perl and python repositories working
         my card is using hostap


now to get things installed and configured.  (and eventually to setup OE on my workstation)
Title: How Do I Add Feeds?
Post by: koen on July 13, 2006, 03:44:42 pm
Quote
cardctl ident on my ambicom wifi card:

Socket 1:
    product info "Ambicom". "WL1100C 802.11 CF-Card, "2.2"
    manfid: 0xd601, 0x0002
    function: 6 (network)


edit:  chmod +s fixed sudo
         I have perl and python repositories working
         my card is using hostap
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135048\"][{POST_SNAPBACK}][/a][/div]

Thanks, I mailed the info to hrw, he can have a look at it when gets back from his holiday. btw, is 'sudo' a busybox applet? If so, chmod +s is a gaping security hole  We use tinylogin to avoid having a setuid root busybox.
Title: How Do I Add Feeds?
Post by: adf on July 13, 2006, 07:55:46 pm
" btw, is 'sudo' a busybox applet? If so, chmod +s is a gaping security hole  We use tinylogin to avoid having a setuid root busybox."

Given that I hadn't installed bash at that point I guess sudo might be a busybox applet. It doesn't come with busybox, and requires separate installation from the feed, though.  I hadn't actually looked, and by now have installed the bash package.
I had to be root to do chmod, if that helps allay security concerns....

While I was flipping back and forth between the package manager and command line (to what various packages were called and what interesting stuff was available) it ocurred to me that OZ might benefit from some bash script with a simple checkbox selection frontend (in dialog, or something) that works with the gui off.... kinda like the setup package manager in redhat. Ugly, true, but it would work well, and on both guis and probably bootstrap (make it the default for bootstrap).  Given that ipkg install some-package-or-other-with-a-few-dependencies.ipk works perfectly from command and not really very often from the gpe gui it might make a good backup for the gpe package manager.  It seems that it would be a real pain for me to write, but likley pretty simple for someone more famililar (no pun) with bash scripting.  All it would need to do would be list and present a checkbox and send the result line by line back to ipkg install variable, right?
Title: How Do I Add Feeds?
Post by: polito on July 15, 2006, 02:36:31 am
Quote
         I have perl and python repositories working
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135048\"][{POST_SNAPBACK}][/a][/div]
Did you test to see if 'ipkg search' works on your perl feed? I added the perl feed to my /etc/ipkg dir as /etc/ipkg/perl-feed.conf and was able to install perl with a simple 'ipkg install perl' BUT if I try and do a search with:
Code: [Select]
root@spitz:~# ipkg search 'perl*'
root@spitz:~#
All I get back is nothing. I can install other things if I know the ipkg name, but search isn't searching... I've already done 'ipkg update' and nothing. Searching works for packages in the regular feeds already set up in OZ 3.5.4.1 but not for the new perl feed I added.

Any ideas?  
Title: How Do I Add Feeds?
Post by: adf on July 15, 2006, 03:57:41 am
Quote
Quote
         I have perl and python repositories working
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135048\"][{POST_SNAPBACK}][/a][/div]
Did you test to see if 'ipkg search' works on your perl feed? I added the perl feed to my /etc/ipkg dir as /etc/ipkg/perl-feed.conf and was able to install perl with a simple 'ipkg install perl' BUT if I try and do a search with:
Code: [Select]
root@spitz:~# ipkg search 'perl*'
root@spitz:~#
All I get back is nothing. I can install other things if I know the ipkg name, but search isn't searching... I've already done 'ipkg update' and nothing. Searching works for packages in the regular feeds already set up in OZ 3.5.4.1 but not for the new perl feed I added.

Any ideas?  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=135196\"][{POST_SNAPBACK}][/a][/div]

I get the same results you did.  I wanted perl initially for autoconf, sosearch wasn't a problem. hmmmmmm....