WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Network Starter Pack  (Read 7326 times)

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7343
  • Founder Emeritus
Re: Network Starter Pack
« Reply #15 on: June 14, 2011, 09:41:53 AM »
Please stay on topic sakis-3g has nothing to do with the discussion of the network starter pack.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7343
  • Founder Emeritus
Re: Network Starter Pack
« Reply #16 on: June 14, 2011, 09:44:21 AM »
@Robert

Is network.gz the right place for wifi.sh? If the starter packs are only meant to be used on the initial setup, the script would be nowhere to be seen after transitioning to proper extensions.
I will package it into a proper extension.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7343
  • Founder Emeritus
Re: Network Starter Pack
« Reply #17 on: June 14, 2011, 10:11:16 PM »
wifi.tcz extension posted.
10+ Years Contributing to Linux Open Source Projects.

Offline nogg321

  • Newbie
  • *
  • Posts: 1
Re: Network Starter Pack
« Reply #18 on: June 22, 2011, 12:14:39 PM »
i tried the network starter pack on my HP nc6000 (ath chip)
i clicked on the wifi icon which scanned and found my wep netgear router and others
tried to insert the wep info which failed
now when i use the icon it does nothing (as if it is ignoring the previously found stuff

this happens each time I boot
is wifi.sh what runs the icon?

regards Nigel

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Network Starter Pack
« Reply #19 on: June 22, 2011, 01:41:03 PM »
is wifi.sh what runs the icon?
YEP, clicking the 'Wifi' icon essentially executes 'sudo wifi.sh' (in a 'xterm').

Now, as you might be aware you can get debugging information from shell scripts by using the '-vx' options of the shell. So you could use
    sudo sh -vx $( which wifi.sh ) 2> wifi-dbg.log
and analyze the resulting log-file yourself (provided you have the skills to make sense out of it) or attach it here so that Robert (and/or others) can take a look at it.

PS: It might be worth splitting this off as a separate thread.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7343
  • Founder Emeritus
Re: Network Starter Pack
« Reply #20 on: June 22, 2011, 01:42:40 PM »
Hmmm. I have an ath wifi card and netgear router and using wep or wpa2 is fine.

Why would booting be involved with the wifi.sh unless you added 'wifi.sh auto' to your boot process?
Which you should only do upon success via the icon as instructed in the info file.

Very interesting that you claim that subsequent use of wifi.sh does nothing.
What error(s) if any are displayed when run from an xterm?

If you have never successfully connected then your wifi.db should be empty.
If your wifi.db is empty and you have added the instruction wifi.sh auto to your boot process then that whould explain things.

However, FWIW, wifi.sh is frugally functional. Tested on three different wifi cards and several routers without issue. However, no claim that wifi.sh will be a panacea for wifi issues.

If you added wifi.sh to your boot process, remove it.
Boot with the network starter pack. Before using wifi.sh, type

iwconfig to see that a wifi device was successfully made. Which BTW, is the real purpose of the network starter pack.

If you have a very slow to register wifi device then you may have to resort to manual commands, e.g.,

sudo -s
iwconfig <yourDevice> essid <yourSSID>  key <yourPassword>
ifconfig  <yourDevice> up
udhcpc -i <yourDevice>

10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7343
  • Founder Emeritus
Re: Network Starter Pack
« Reply #21 on: July 01, 2011, 09:15:26 PM »
Updated network starter pack (network.gz) now posted! This has the updated wifi.sh.
See: http://forum.tinycorelinux.net/index.php?topic=10404.0
« Last Edit: July 01, 2011, 09:25:49 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Network Starter Pack
« Reply #22 on: July 01, 2011, 11:19:02 PM »
Robert: Do I take it that the update to 'wifi.sh' is the only change? In the other two annoucements you did ca. 2h ago you specified that the icon changes were the only ones done.

I for one will pace myself with updating the downloaded starterpacks for just an icon change. Likewise if the only change to this starter pack is anyway included in the 'wifi.tcz' extension I'll just update my extension.

Which reminds me of another request I have: Would it be possible to publish the scripts you use to build each starterpack (or make the exact list of extenions included in each pack know in some other form)?. This way I (and maybe some others) that would only need to download one to help with troubleshooting other users problems might not need to download them (hereby I assume that the relevant extensions are anyway locally at hand in an up-to-date version).

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7343
  • Founder Emeritus
Re: Network Starter Pack
« Reply #23 on: July 02, 2011, 09:43:27 AM »
wifi.sh is the only change with the caveat that any updates to embedded extensions would also be included. Starter packs are mostly collections of extensions. The exception is install.gz grub4dos.gz which contain tc-install* and tc-grub4dos* which are not offered as extensions.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7343
  • Founder Emeritus
Re: Network Starter Pack
« Reply #24 on: July 09, 2011, 06:45:22 PM »
Network Starter Pack updated now includes wifi.sh v0.3.
For details see: http://forum.tinycorelinux.net/index.php?topic=10489.msg56250#msg56250
10+ Years Contributing to Linux Open Source Projects.