Author Topic: New Network Config Utility  (Read 18557 times)

InSearchOf

  • Administrator
  • Hero Member
  • *****
  • Posts: 1144
    • View Profile
    • http://
New Network Config Utility
« Reply #15 on: May 03, 2007, 01:24:11 pm »
Quote
Quote
Quote
Quote
probably because he is using 2.6 kernel where there is no cardctrl but some other command instead.
Is there a cardctrl command in some kernels as well as a cardctl command, or was that a typo?[div align=\"right\"][a href=\"index.php?act=findpost&pid=160367\"][{POST_SNAPBACK}][/a][/div]
AFAIK, just cartctl...[div align=\"right\"][a href=\"index.php?act=findpost&pid=160377\"][{POST_SNAPBACK}][/a][/div]
r197

Code: [Select]
$ uname -a
Linux zaurus 2.6.16 #1 PREEMPT Wed Apr 11 15:59:50 UTC 2007 armv5tel unknown
$ pccardctl
pcmciautils 014
Copyright (C) 2004-2005 Dominik Brodowski, (C) 1999 David A. Hinds
Report errors and bugs to , please.
invalid or unknown argument
Usage: pccardctl COMMAND
Supported commands are:
        ls
        insert
        eject
        suspend
        resume
        reset
        info
        status
        config
        ident
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160378\"][{POST_SNAPBACK}][/a][/div]
They were talking about 2.4 kernel...

I thought

Late
Sharp Zaurus SL-C3100 and SL-6000L
pdaXrom Developer
Please visit pdaXrom.org for updates
My Blog
IRC #pdaxrom @ FreeNode

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Network Config Utility
« Reply #16 on: May 03, 2007, 02:23:54 pm »
Quote
have a look at my net.agent script for an example. it sets up wifi and usb ethernet with either dhcp or static ip depending on the config options.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160338\"][{POST_SNAPBACK}][/a][/div]
It just occurred to me...If you have a script that does this already, why should I make another one?

Also, where is said script?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
New Network Config Utility
« Reply #17 on: May 03, 2007, 02:36:51 pm »
About pccardctl, looks like the difference is it adds 2 options (ls and info).  I would guess it works the same otherwise?  I guess I will check a man page when have more time.  This is helpful info.

Thanks,
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Network Config Utility
« Reply #18 on: May 03, 2007, 02:43:05 pm »
Quote
About pccardctl, looks like the difference is it adds 2 options (ls and info).  I would guess it works the same otherwise?  I guess I will check a man page when have more time.  This is helpful info.

Thanks,
sdjf
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160383\"][{POST_SNAPBACK}][/a][/div]
I thought that pccardctl didn't accept schemes (e.g. no 'pccardctl scheme xyz'), and that was the big difference?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Network Config Utility
« Reply #19 on: May 03, 2007, 03:03:35 pm »
OK, I've added support for static IP addresses. I'll test it now and see if it works.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Network Config Utility
« Reply #20 on: May 03, 2007, 06:18:39 pm »
Packages and source updated to version 1.1. Static IP addresses are now supported and the source now has a changelog.

This release is not fully tested, but it should be good.

Comments/bug reports/criticism/requests (no guarentees) are still welcome and encouraged.
« Last Edit: May 03, 2007, 06:19:54 pm by Capn_Fish »
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

sdjf

  • Sr. Member
  • ****
  • Posts: 447
    • View Profile
    • http://www.sdjf.wordpress.com and http://www.sdjf.esmartdesign.com
New Network Config Utility
« Reply #21 on: May 03, 2007, 06:20:07 pm »
Quote
I thought that pccardctl didn't
   accept schemes (e.g. no 'pccardctl
   scheme xyz'), and that was the big difference?

Whoops!  My oversight...haven't had time to find a man page, and I forgot about the schemes as never use them.  Was talking about the command list for cardctl.

sorry,
sdjf
http://www.sdjf.esmartdesign.com
http://www.sdjf.wordpress.com
-----------------
sl5500 running Sharp ROM 2.38 (dead batteries)
sl6000L running Sharp ROM 1.12 (still working)
Opera 7.25 and 7.30
Socket CF 56k modem
3Com USB Ethernet Adapter
Toshiba, Lexar and Kingston SD cards
Lexar, Kingston and Transcend CF cards

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Network Config Utility
« Reply #22 on: May 03, 2007, 06:28:29 pm »
Quote
Quote
I thought that pccardctl didn't
   accept schemes (e.g. no 'pccardctl
   scheme xyz'), and that was the big difference?

Whoops!  My oversight...haven't had time to find a man page, and I forgot about the schemes as never use them.  Was talking about the command list for cardctl.

sorry,
sdjf
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160396\"][{POST_SNAPBACK}][/a][/div]
No big deal.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
New Network Config Utility
« Reply #23 on: May 03, 2007, 09:28:44 pm »
Quote
Quote
have a look at my net.agent script for an example. it sets up wifi and usb ethernet with either dhcp or static ip depending on the config options.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
It just occurred to me...If you have a script that does this already, why should I make another one?

Also, where is said script?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=160381\"][{POST_SNAPBACK}][/a][/div]

it's part of pdaXii13 customisation, [a href=\"http://www.tyrannozaurus.com/feed/pdaXii13/build/pdaXii13-custom.tgz]http://www.tyrannozaurus.com/feed/pdaXii13...ii13-custom.tgz[/url]
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
New Network Config Utility
« Reply #24 on: May 11, 2007, 12:00:21 am »
Capn Fish,

Thanks for the handy tool.  I find it is very useful for the issue I am having with my wifi card in R198.  Can I pass variables to it directly from the terminal without using your interface?  My wifi card needs a deactivate before I can activate it.  I would like to include your tool in a shell script that would run a deactivate then activate everytime I insert the card.  I tried the obvious ones like wlanconfig deactivate and wlanconfig 2 but they don't work.
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
New Network Config Utility
« Reply #25 on: May 11, 2007, 02:27:48 am »
Quote
Capn Fish,

Thanks for the handy tool.  I find it is very useful for the issue I am having with my wifi card in R198.  Can I pass variables to it directly from the terminal without using your interface?  My wifi card needs a deactivate before I can activate it.  I would like to include your tool in a shell script that would run a deactivate then activate everytime I insert the card.  I tried the obvious ones like wlanconfig deactivate and wlanconfig 2 but they don't work.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=161011\"][{POST_SNAPBACK}][/a][/div]


personally, i think that tool should be written as a X GUI, and the text version should be command line driven
the best would be if the tool automatically starts a GUI if no command line option was given, but if command line arguments are passed, it just does what it is told to do without popping up the GUI....
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Network Config Utility
« Reply #26 on: May 11, 2007, 07:45:18 am »
I'm working on that. That's why I was asking about GTK/FLTK/QT in the other thread.  
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
New Network Config Utility
« Reply #27 on: May 11, 2007, 01:12:51 pm »
Thanks Capn Fish.  I'm especially looking forward to the command line addition to your utility.  Although the GUI would be appreciated too especially for profile setups.
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
New Network Config Utility
« Reply #28 on: May 11, 2007, 04:20:28 pm »
I still need to figure out how to pass command line variables. Once I find a place documenting it, I'll probably have a version with it implemented within a few hours (likely within an hour).

So....Anybody got a place with docs on the subject?  
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
New Network Config Utility
« Reply #29 on: May 11, 2007, 04:36:16 pm »
Thank you very much.  I wish I did have the information for you but, I'm pretty much clueless when it comes to dev type work.
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.