You are not logged in.

#1 2004-12-10 01:00:04

ruwach
Member
Registered: 2004-06-14
Posts: 143

one about kernel : one about dchp

hey there, i have looked all over for some info to help me out with this one.

First  -- can i downgrade back to kernel 2.6.7 ? if so, how ?

next - i have a second ethernet card (eth1) that i use to hook up a laptop for internet sharing. it has a static assigned ip address, but i want to set it up to use dhcp so when i take the laptop to work i dont have to change settings and such when i bring it back home. How do i do this.

thanks guys
big_smile

Offline

#2 2004-12-10 04:15:08

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: one about kernel : one about dchp

awe come on guys, no takers ?

i need a hand here !

Offline

#3 2004-12-10 09:24:09

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: one about kernel : one about dchp

Primo: go to /var/abs/kernels/kernel26, edit the PKGBUILD and change the version to 2.6.7. Then run makepkg and, if it compiles flawlessly, add the newly created package with pacman. Don't forget to rerun lilo, if you're using it.

Secundo: I guess adding 'eth1="dhcp"' and eth1 to INTERFACES line in rc.conf should do the thing.

Cheers,

lucke

Offline

#4 2004-12-10 12:54:51

Stinky
Member
From: The Colony, TX
Registered: 2004-05-28
Posts: 187

Re: one about kernel : one about dchp

kernel issue:
If you haven't cleared out your pacman cache...go to /var/cache/pacman/pkg and the kernel 2.6.7 package should be in there.
do
#pacman --upgrade kernel26-2.6.7-1.pkg.tar.gz

At least that's the package name I have.  I guess yours might be different. 
Then reboot.  If you use lilo, be sure to run #lilo before rebooting.

Offline

#5 2004-12-10 13:59:46

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: one about kernel : one about dchp

thanks guys, i will give it a shot this evening.
thanks again

Offline

#6 2004-12-10 15:22:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: one about kernel : one about dchp

The kernel thing suggest above works.  You need to check to see if there is an old version in the cache first.  If there is not, then you'll have to manually recompile the old one.  However, let me ask this: what is the reason for downgrading?  It may be better to fix your problem before downgrading the kernel version.

As for setting up dhcp, let me see if I understand... you have a computer running linux which you connect a laptop to and want the laptop to use dhcp, correct?  In order to do that you need to run the dhcp daemon with some proper configs... but that's a whole 'nother topic.

Offline

#7 2004-12-10 16:09:19

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: one about kernel : one about dchp

the reason i want to downgrade back to kernel 2.6.7 is because i cant seem to get my usb cd-writer to work. xcdroast either crashes or goes through all of the motions and then rejects the blank CDR as bad media..
sometimes it finds the writer and sometimes it does not.

i read that ever  since 2.6.8 there have been some issues with usb and cd-writers, so...  i just thought i would put ye ol 2.6.7 back on there.


yeah, about the dchp thing.  i have two ethernet cards in the linux box. eht0 connects to the internet via cable modem, and from eth1, i am able to plug into the laptop via crossover cable. what i would like to do is, instead of having a static ip assigned to the laptop, set it up to connect by dchp so that when i go back and forth to work, i dont have to reconfigure everything again. also, if my computer acts as an internet sharing dchp net server, i can install linux on a couple of my friends boxes without having to sacrifice my own time on line.  big_smile   i have a couple of friends that want to try linux, and they are going to drop their computers ( both laptops )

Hey thanks for all of your help, if you think that there is an easier solution to either of these issues, please let me know. It says "power user" in the little box to the left, but dont let that fool you.  i still have a lot to learn here,

Offline

#8 2004-12-10 16:20:08

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: one about kernel : one about dchp

ruwach wrote:

Hey thanks for all of your help, if you think that there is an easier solution to either of these issues, please let me know. It says "power user" in the little box to the left, but dont let that fool you.  i still have a lot to learn here,

he he, we all feel that way sometimes - about the usb stuff try adding the following to your modules array in /etc/rc.conf:
ehci_hcd
uhci_hcd
possibly ohci_hcd

I cannot recall what is for what excatly, but ehci_hcd is for usb 2.0 - the others for 1.0

let me look into the rest - i know theres writer issues in 2.6.9 but there's probably a work around

Offline

#9 2004-12-10 16:29:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: one about kernel : one about dchp

hmmm try the following:
verify the ide-scsi line in your kernel boot options (hdc=ide-scsi , where hdc is the cdrom device).
run cdrecord dev=/dev/hdc -scanbus

this should give some 2.6.9 warnings.... ignore those there should be some junk like this:

Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
scsibus1:
        1,0,0   100) 'HL-DT-ST' 'RW/DVD GCC-4241N' '0C29' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

Offline

#10 2004-12-10 17:31:29

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: one about kernel : one about dchp

ok ummm where do i put that line in the boot options ? Does it go somewhere in the grub.lst ?
also, there is no fstab entry for the usb mass storage device ( which is what it was always called ) should there be one ? that might make everything a lot easier.  i dont know what to call it. i know the device exists . i have kde installed ( never use it though, i dig Gnome and flux ) but it has some tools to let me see /dev may call it.  i will have to check it when i get back to the house.

ok, thanks for your help.

Offline

#11 2004-12-11 00:07:44

ruwach
Member
Registered: 2004-06-14
Posts: 143

Re: one about kernel : one about dchp

oops,
i guess i cleared that cache.
the kernel package was not there sad
so, i am guessing there must be some other way.

about the usb cd-writer thing, here is what i have in lsmods
[ruwach@Arch ~]$ lsmod
Module                  Size  Used by
ipt_TCPMSS              4736  1
ipt_limit               2816  7
ip_nat_irc              4848  0
ip_nat_ftp              5616  0
iptable_mangle          3072  0
ipt_LOG                 7424  4
ipt_MASQUERADE          4480  1
iptable_nat            26916  4 ip_nat_irc,ip_nat_ftp,ipt_MASQUERADE
ipt_TOS                 2816  0
ipt_REJECT              7552  0
ip_conntrack_irc       72112  1 ip_nat_irc
ip_conntrack_ftp       73136  1 ip_nat_ftp
ipt_state               2176  6
ip_conntrack           47268  7 ip_nat_irc,ip_nat_ftp,ipt_MASQUERADE,iptable_nat ,ip_conntrack_irc,ip_conntrack_ftp,ipt_state
iptable_filter          3200  1
ip_tables              19712  10 ipt_TCPMSS,ipt_limit,iptable_mangle,ipt_LOG,ipt _MASQUERADE,iptable_nat,ipt_TOS,ipt_REJECT,ipt_state,iptable_filter
eth1394                22664  0
ehci_hcd               31748  0
ohci1394               35588  0
ieee1394              114360  2 eth1394,ohci1394
sr_mod                 18724  0
usb_storage            70848  0
uhci_hcd               33680  0
shpchp                101252  0
pci_hotplug            13060  1 shpchp
tsdev                   8128  0
evdev                   9984  0
snd_ens1371            24548  0
snd_rawmidi            26276  1 snd_ens1371
snd_seq_device          8456  1 snd_rawmidi
snd_ac97_codec         73808  1 snd_ens1371
gameport                5120  1 snd_ens1371
snd_pcm_oss            56488  0
snd_pcm               101508  2 snd_ens1371,snd_pcm_oss
snd_timer              27140  1 snd_pcm
snd_page_alloc         10248  1 snd_pcm
snd_mixer_oss          21376  1 snd_pcm_oss
snd                    58980  8 snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_ codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore              10848  1 snd
ohci_hcd               22660  0
parport_pc             26816  1
lp                     11784  0
parport                42312  2 parport_pc,lp
sis                    77920  0
natsemi                29792  0
8139too                26368  0
mii                     5632  1 8139too
crc32                   4736  2 natsemi,8139too
rtc                    13128  0
DAC960                 75048  0
ide_floppy             19968  0
[ruwach@Arch ~]$

i added the line to add ide-scsi in the modules of rc.conf. lets see what happens when i reboot.

Offline

Board footer

Powered by FluxBB