Author Topic: Installing Debian Base, Without Needing A Network Connection!  (Read 12170 times)

relapse808

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #15 on: December 14, 2007, 03:28:10 pm »
cd ..
mkdir media/card .. because the SD card is automatically mounted under /media
mount dev/mmcblk0p1 media/card .. see above
dpkg-deb -x media/card/zaurus-hardware-support.deb .. I did this and it took some time, but no messages on the screen. There are in the usual method.
loadkeys usr/share/keymaps/zaurus/spitz.kmap.gz .. If you look at kernel messages on reboot this command is issued and the keys work.
depmod .. I did this and there was a pause before the prompt returned.

This step isnt working for me.  when I do the dpkg it complains that I am not telling it where to extract to.  Can anyone help?  When I do a iwconfig I get stats for wifi0 and wlan0.  I have a ambicom CF card wifi network card.  If I do a ifconfig nothing happens.  I did edit the blacklist file as stated and I am not sure if its doing any good.  Im sorry for the questions but im still a noob at this.


EDIT: one more question....when I try to do the mkdir media/card I get multiple errors stating "FAT: Direcotry bread(block xxx) failed."
« Last Edit: December 14, 2007, 04:07:35 pm by relapse808 »

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #16 on: December 15, 2007, 07:07:28 am »
[quote name='relapse808' date='Dec 14 2007, 08:28 PM' post='172669']

dpkg-deb -x media/card/zaurus-hardware-support.deb .. I did this and it took some time, but no messages on the screen.

This step isnt working for me.  when I do the dpkg it complains that I am not telling it where to extract to.  Can anyone help?
Quote

  I was lazy in one of my posts and did not put the complete command:

dpkg-deb -x media/card/zaurus-hardware-support.deb .    

In my defense, I was referring back to the original TitchyLinux installation page and forgot that readers might not be aware of that.

To make it absolutely clear: the . at the end of the command line is the destination for the unpacking, not a full stop.

Hope this helps with the dpkg-deb command.  

If I was going to install Titchy again, I would use the original method from the Titchy site. YMMV but I find it less fiddly than the method in this thread.
« Last Edit: December 15, 2007, 07:09:11 am by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

relapse808

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #17 on: December 15, 2007, 01:49:30 pm »
i need some help.  I have got to the part where i need to do the apt-get update and get a error stating invalid skb->cb magic.  What can I do about this?  Its coming from the wireless card and I get the same error trying to ping my gateway.

Also worth noting is I have now installed debian the original way from the network instead of off the sd card.


edit : ok the blacklist got the card to work but now I cannot ping my gateway.  Also after a reboot I lost the zaurus key config and tab will no longer make a /  Can someone please help me.
« Last Edit: December 15, 2007, 02:34:06 pm by relapse808 »

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #18 on: December 15, 2007, 04:13:24 pm »
Quote from: relapse808
i need some help.  I have got to the part where i need to do the apt-get update and get a error stating invalid skb->cb magic.  What can I do about this?  Its coming from the wireless card and I get the same error trying to ping my gateway.

Also worth noting is I have now installed debian the original way from the network instead of off the sd card.


edit : ok the blacklist got the card to work but now I cannot ping my gateway.  Also after a reboot I lost the zaurus key config and tab will no longer make a /  Can someone please help me.
 If you repeat the command from the TitchyLinux installation page that starts loadkeys you'll get your keymap back. About the wifi problem you probably need to edit /etc/network/interfaces file. Try the command nano etc/network/interfaces. You should already have one and can edit it to suit.  

Here is my interfaces file from my TitchyLinux install with comments:  

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
# if you later install dhcp clients then you can comment out the iface line with static in it and the other lines with the IP information
# You would then uncomment the following line

#iface eth0 inet dhcp


# You need to use the following lines at first
iface eth0 inet static
address an available address on your wifi network
netmask 255.255.255.0
network your router IP with 0 as the last figure
broadcast your router IP with 255 as the last figures
gateway your router IP

# wireless-* options are implemented by the wireless-tools package
wireless-mode managed
wireless-essid your network's essid
wireless-key1 your wep key If you are using wep, otherwise comment it out.
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers your router IP

However you might prefer to look through this forum for wifi problems or at the Wiki pages that ZDevil and friends have set up to guide Debian installation. He has put an example interfaces file on there.  

Good luck!  

OOPS! Don't forget to do depmod -a after a reboot until you have finished all this post-install fiddling.
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

relapse808

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #19 on: December 15, 2007, 04:43:10 pm »
hahah. the problem was so easy.  What i was doing was resetting the device with the button.  I removed the battery and then rebooted which actually corrected everything and Ijust finished the install.  Thanks for the help.

t1tough

  • Newbie
  • *
  • Posts: 3
    • View Profile
Installing Debian Base, Without Needing A Network Connection!
« Reply #20 on: January 18, 2008, 11:59:06 pm »
I have successfully installed titchy. After starting xdm with login windows displayed, I cannot login with "incorrect login" error message displayed. I use "root" as login name and the password that I changed myself but without success. I have even tried all possible combinations of login and password but still with no luck. Please help!!!

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Installing Debian Base, Without Needing A Network Connection!
« Reply #21 on: January 19, 2008, 08:17:59 am »
Quote from: t1tough
I have successfully installed titchy. After starting xdm with login windows displayed, I cannot login with "incorrect login" error message displayed. I use "root" as login name and the password that I changed myself but without success. I have even tried all possible combinations of login and password but still with no luck. Please help!!!

tux said here :
"root user starts out with password kuroadmin"
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

t1tough

  • Newbie
  • *
  • Posts: 3
    • View Profile
Installing Debian Base, Without Needing A Network Connection!
« Reply #22 on: January 19, 2008, 09:31:46 am »
Quote from: jpmatrix
Quote from: t1tough
I have successfully installed titchy. After starting xdm with login windows displayed, I cannot login with "incorrect login" error message displayed. I use "root" as login name and the password that I changed myself but without success. I have even tried all possible combinations of login and password but still with no luck. Please help!!!

tux said here :
"root user starts out with password kuroadmin"

I have already changed the ROOT password in the text mode. Also, I can login with the changed password as ROOT in text mode. However, when I enter the said password for ROOT in the login window (GUI), there always an error message of "incorrect login".  Please help.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #23 on: January 19, 2008, 12:38:21 pm »
It'd possible the GUI is set to not allow root to log in. I know some distros do that.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #24 on: January 19, 2008, 05:25:51 pm »
Quote from: Capn_Fish
It'd possible the GUI is set to not allow root to log in. I know some distros do that.
 The Titchy distro isn't set up that way!  

You say that you can login from the commandline? Try adding a normal user as well and install sudo.

Have you set up the date and time and did you do hwclock -w and reboot? That cured some of my problems with logging in graphically. I seem to remember having the same problem a good while ago. I think it was related to setting up the hardware clock. I suspect that your system is trying to make you set a new password because the date settings are saying that it is time for a password change. The gui login can't cope with that.  

I'm sorry to be unclear in my explanation: but try a commandline session with the date setting and hwclock command followed by a reboot. Then, login to the commandline and start the X system. I hope it will cure your problem.  

I'd also recommend installing ssh-server and using your desktop to login in while you experiment with your Z. It has saved my sanity on many occasions!  

Cheers
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

t1tough

  • Newbie
  • *
  • Posts: 3
    • View Profile
Installing Debian Base, Without Needing A Network Connection!
« Reply #25 on: January 19, 2008, 10:36:46 pm »
Quote from: tux
You say that you can login from the commandline? Try adding a normal user as well and install sudo.

Have you set up the date and time and did you do hwclock -w and reboot? That cured some of my problems with logging in graphically. I seem to remember having the same problem a good while ago. I think it was related to setting up the hardware clock. I suspect that your system is trying to make you set a new password because the date settings are saying that it is time for a password change. The gui login can't cope with that.  

Cheers

You are right. The system always ask for setting a new password after each login.

I have set the date and time with "date -s" command and confirmed it is correct. After reboot, the time reset to 2 Jan 1970. However, when I repeat the date and time setting then "hwclock -w", there is a message "Cannot access the Hardware Clock via any known method.". Is there something wrong?

By the way, could you please advise the syntac for adding a user. Thanks a lot for your help.

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #26 on: January 20, 2008, 04:31:13 am »
  adduser fred or whatever name you want to have for your user. Then just answer the questions as it proceeds.  

If you take a look inside the zaurus-hardware-support.deb from the TitchyLinux site you will find some files that are for setting up the hardware clock. Look for something about hwclock rules. I forget exactly where the files are.   When you find them: copy them to the proper place on your Z.  This is a lot easier to do if you are using ssh from a terminal on your desktop.  

I'm sorry I can't be more specific but I'm about to go out for the day. I'll do some investigating this evening and try to get back to you then. I would hope that some cleverer chap will help you out before then...

Good luck!

PS try a search in this forum for hwclock or hwclock rules, the answer might be here already.
« Last Edit: January 20, 2008, 04:33:30 am by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

tux

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
    • http://
Installing Debian Base, Without Needing A Network Connection!
« Reply #27 on: January 20, 2008, 01:27:03 pm »
 In the zaurus-hardware-support.deb, look using an archive manager, you will find hwclock.rules at /etc/udev/rules.d... If you copy this file into /etc/udev/rules.d on your Z you will probably persuade hwclock -w to work. This might then solve your X login problems.

Good lick.
« Last Edit: January 20, 2008, 01:27:35 pm by tux »
3200 aka BigZ, swapped in 16GB Sandisk Extreme III CF, Cacko 1.23 full,  new SDHC >2GB module,
SL860 Cacko 1.23 full, new SDHC >2GB module,
6000L SharpRom 1.12 + Tetsu kernel,
5500 TKC home on SD x 2 (with SD>1GB),
Archos PMA30 with OPEN PMA (Giraffe),
Nokia 770 (Hackers Edition)
Nokia 800 (ITOS 2008), 4GB SDHC x 2
Asus eeepc 4G (black), with 1GB ram, dual boot Xandros on SSD with Ubuntu Lucid Lynx on 16 GB SDHC,
Tmobile G1 Android (black), with Cyanogen's  Firerat's MTD script and Amon Ra Recovery 1.7.0
Tmobile HTC Wildfire.. rooted and on Cyanogen's 7.3 nightly Rom
Kopi/Kapi on everything bar the phone and the Nokias, there is a beta for the nokias...

All the above are retired

Samsung Note 8 N5110
Samsung Note N7105
FBreader on the lot!

gojira

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Installing Debian Base, Without Needing A Network Connection!
« Reply #28 on: January 26, 2008, 01:01:03 am »
Quote from: tux
In the zaurus-hardware-support.deb, look using an archive manager, you will find hwclock.rules at /etc/udev/rules.d... If you copy this file into /etc/udev/rules.d on your Z you will probably persuade hwclock -w to work.

just tried installing with zImage-2.6.20-cpufreq.bin.  zaurus-hardware-support is already installed in the image, so the udev rules are there, but udev insn't installed (and I haven't got networking up yet).  the rules say to make /dev/rtc a link to /dev/rtc0 (253,0).  I tried that but still no joy from hwclock.  does anyone have a working hwclock?  which kernel are you using?

thanks!

Edit:  never mind, it works after an aptitude update and aptitude install titchy-desktop.  I guess udev sorted it out...
« Last Edit: January 26, 2008, 10:22:51 am by gojira »
Zaurus SL-C3200 Debian EABI / Sharp ROM (tetsu v18j), Socket CF Bluetooth (Rev E), BT747 GPS, Canon K30225 CF Wifi.  RIP: Zaurus SL-C860 Sharp ROM (1.40JP).