Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Testers needed, especially wireless users

News about upgrades

Postby Urban on Tue Mar 04, 2008 5:41 am

Multiple APs with the same essid works fine in ceni. Ceni lists them separately by mac and sorts by signal strength.

The wrapper I wrote in my previous post should work fine (EDIT: with tweaks that I just realized would be required) for adding to a menu, which I assume is what would be done. If anticapitalista wants a wrapper that can also pass arguments to ceni for command line use then I have a quick and dirty method that works already that is very dangerous considering the program has suid. I can also write it correctly if he is interested.

EDIT: I went ahead and finished the wrapper. Now the wrapper safely passes arguments. 7.2K compiled with O3.

Anti, if you end up using ceni and want the suid C wrapper let me know so I can send it to you. If not I will just use it for myself like I already am.

EDIT2: Here is a demo of the wrapper, but wrapping the command ls instead of ceni to demonstrate the argument passing.
newlinks below (7.2K)

+ Download
+ chmod +x lsWrapper
Now it works just like ls should.
+ lsWrapper -l -a

Note: I did NOT rewrite ls. I wrapped ls in a C program. I can just change the program to wrap ceni instead then give the program suid and bingo. No more password entering to run ceni.

Compiled with gcc 4.1.3 and flags -Wall -pedantic -ansi -O3

EDIT 3: Here is the ceni wrapper. I am not sure why I did not just upload it to begin with. Sometimes perl makes me want to hurt myself. Feedback is appreciated. Unicode is not supported in this version. I will add support later if it is required.
new links below (7.3K)

+ Download
+ mv ceniWrapper /usr/bin/
+ chown root /usr/bin/ceniWrapper
+ chmod 5555 /usr/bin/ceniWrapper
Now you should be able to just run ceni by typing in "ceniWrapper"

To do:
check for suid and that owner is root
deb package
unicode

Compiled with gcc 4.1.3 and flags -Wall -pedantic -ansi -O3
Last edited by Urban on Thu Apr 17, 2008 10:19 pm, edited 2 times in total.
User avatar
Urban
 
Posts: 58
Joined: Tue Feb 26, 2008 11:31 am
Location: United States

testing wireless on dell 700m

Postby kabon on Mon Apr 07, 2008 4:53 am

dell 700m uses intel 2200BG.
installed m7.2preview1 and it found the wireless network without any problem. didn't try ceni since everything worked as installed.
used m7.1 prior to this and could not get wireless to work.
kabon
 
Posts: 4
Joined: Mon Apr 07, 2008 12:42 am

revised

Postby Urban on Thu Apr 17, 2008 4:18 am

anticapitalista: I am working on a revised version of the ceniwrapper for you to put in the new version of antiX. The revised version of the wrapper seems to be faster and smaller right now. There are also some other improvements being made.

UPDATE: This is essentially an entire rewrite. The deb package is at the bottom and is probably what should be used for installing.
http://rapidshare.com/files/108242885/ceniwrapper.html 6.7K
This is the new version. Faster, smaller, and better.

+ Download
+ mv ceniWrapper /usr/bin
+ chown root:root /usr/bin/ceniwrapper
+ chmod 4555 /usr/bin/ceniwrapper
Typing in ceniwrapper in terminal should now run ceni passwordless. Someone please try this before the next version of antix is released.

gcc version 4.2.3
gcc -Wall -pedantic -O2

EDIT:
and here is a deb package. This is my first attempt at a deb package.
http://rapidshare.com/files/108242444/ceniwrapper.deb.html 4K
This is probably better for working with apt-get and synaptic.

+ Download
+ dpkg -i ceniwrapper.deb
Now its ready and can be removed with sudo apt-get remove ceniwrapper and will be removed if ceni is removed.

EDIT2:
I have realized that uppercase W was mistake and have uploaded new versions with a lowercase w.
IRC Channels:
irc.freenode.net #antix
chat.zoite.net #antix
The Unix Philosophy "Make each program do one thing well."
User avatar
Urban
 
Posts: 58
Joined: Tue Feb 26, 2008 11:31 am
Location: United States

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests