Jump to content

Kernel source config.h for winmodem536


jimhandler
 Share

Recommended Posts

:wall: My learning curve is presently 10 hours - over a month) and I still cannot connect to the internet via mandrake 9.2. My other partion is XP and it is fine.

 

I need config.h in order to proceed. Where is it, how do I get it and how do I install it. I have found several answers about this topic in several forums but none of them worked.

 

Since 9.2 does not come with kernel sources, I was instructed to download them. I don't think downloading 40 mb over a 56 kb modem is practical...

 

I've located several config.h files but they seem to be package specific.

 

Help.

 

Jim Handler

Link to comment
Share on other sites

Yes, if you open a terminal>su to root>urpmf config.h, you'll find many. Why do you think you need it? It probably implies that you need the kernel-source. 40MB is nothing for dialup. I downloaded ML9.0's 3 700MB cd's with a crappy winmodem. 40MB won't kill ya :P

Link to comment
Share on other sites

:wall: Sorry,

 

I meant autoconf.h instead of config.h.

 

I am trying to finish a script provided to me with the tgz file:

 

Originally I tried (a few weeks ago):

 

1. su into root

2. extract archive into a directory with "tar -zxvf <arname>.tgz

I did this with the supplied file (on a:) "Intel536ep-462-M91-smp.tgz file

3. cd into the directory

I did this

4. make clean

I did this and it seemed to work

5. make 536ep

/lib/modules..."autoconf.h does not exist, please install kernel source".

6. make install

never got to this step

 

After the kernel install - from a Cd I burned after downloading tonight it with XP -

step 4 above does not work at all now.

 

does anyone have any suggestions now ?

 

Jim Handler

Link to comment
Share on other sites

On the real question, I installed kernel-source-2.4.22-21mdk.i586.rpm - the entire thing I assume.

 

Again I used the software install from the kde menu on the cd where I had burned this 40.2 mb file from the web.

 

It came back and said "already installed".

 

I get confused since I am not familiar with Unix commands and architecture yet.

 

In the last 37 years I have made a living programming on every platform except Unix: IBM 360 OS,DOS, 370 OS, 3090 MVS, NCR 100-200, PDP 11, Vax VMS, PC DOS, Varian (octal), DOS telephone answering systems. The languages were: ALC, Neat/3/RPG,COBOL, Fortran and various pc scripts. I have designed and programmed databases and maintained tp monitors. Linux reminds me of NCR in the 60's when their SE's told us: "when you find out, let us know." Of course they are Unix now, having gone the way of all the 7 "dwarfs". In the early 80's I had to return to big blue to make a living. I owned an Altos Xenix machine for a few months then - intending to help a friend with a large contract. But when the large contract vanished, I couldn't figure out how to make money with it. So I considered myself lucky to sell it for 75 % of what I had paid for it. I only spent a few months looking at the friend's C/Informix manufacturing system.

 

I am trying to move over to Linux/Unix so that I can contract when I retire. I will be 61 in January. I have a lot more time now ...

 

Jim

Link to comment
Share on other sites

It's like learning any new language, more use makes ease of use!

 

I am concerned that you have installed kernel sources that are not for the kernel you are running. In a linux system, three files are related to the kernel: kernel-xxx-i586.rpm, kernel-source-xxx-i586.rpm, and kernel-doc-xxx-i586.rpm.

The first two are essentail, and the "xxx" must match exactly. Mandrake changed their kernel within a week of the release, and the sources that you installed are for the new kernel, not the original kernel. I would download the matching kernel (matching to your currently installed sources) and install it. DO NOT USE THE SOFTWARE INSTALLER TO INSTAL A KERNEL. In a console, type "rpm -Uvh kernel-xxx-i586.rpm" and do it this way.

 

Oh, I'm using "xxx" to show a generic format. You must type all of the actual file name, and not "xxx"!

:D

Link to comment
Share on other sites

you can try

4. make dist-clean

instead of

4. make clean

but you're better off deleting the source tree (directory) and starting fresh. It's a good idea to do this often when having problems compiling, especially if you changed kernels or kernel-source.

 

It's definately best to have an exact match for a kernel and kernel-source but it's usually not necessary.

exact

kernel-source-2.4.22-19mdk
kernel-2.4.22.19mdk-1-1mdk

 

close enough (usually)

kernel-source-2.4.22-10mdk
kernel-2.4.22.19mdk-1-1mdk

notice my kernel-source=10mdk but my kernel=19mdk. This is because there was not a kernel-source-19mdk available when the kernel-19mdk was released. My NVIDIA driver compiled just fine. But when having problems compiling get the exact if possible even if it means downloading again.

 

[root@ml root]# rpm -qa | grep kernel
kernel-source-2.4.22-10mdk
kernel-2.4.22.19mdk-1-1mdk
kernel-2.6.0.0.1mdk-1-1mdk
kernel-2.6-source-2.6.0-0.test9.5mdk
[root@ml root]#

 

and as you can see depending on your sources there can be many autoconf.h's as well but you obviously need the one related to the kernel-source.

[root@ml root]# urpmf autoconf.h
glibc-devel:/usr/include/linux/autoconf.h
OpenSP:/usr/share/doc/OpenSP-1.5/autoconf.htm
openjade:/usr/share/doc/openjade-1.3.2/jadedoc/autoconf.htm
autoconf2.5:/usr/share/autoconf/autoconf/headers.m4
libkrb51-devel:/usr/include/krb5/autoconf.h
apcupsd:/usr/share/doc/apcupsd-3.10.5/doc/developers_manual/autoconf.html
kernel-source:/usr/src/linux-2.4.22-6mdk/include/linux/autoconf.h
glibc-devel:/usr/include/linux/autoconf.h
autoconf2.5:/usr/share/autoconf/autoconf/headers.m4
OpenSP:/usr/share/doc/OpenSP-1.5/autoconf.htm
openjade:/usr/share/doc/openjade-1.3.2/jadedoc/autoconf.htm
libkrb51-devel:/usr/include/krb5/autoconf.h
apcupsd:/usr/share/doc/apcupsd-3.10.7/doc/developers_manual/autoconf.html
kernel-source:/usr/src/linux-2.6.0-0.1mdk/include/linux/autoconf.h
kernel-multimedia-source:/usr/src/linux-2.4.22-21mm.2mdk/include/linux/autoconf.h
kernel-tmb-source:/usr/src/linux-2.4.22-21.tmb.2mdk/include/linux/autoconf.h
libtwin0-devel:/usr/include/Tw/Twautoconf.h
freeradius-devel:/usr/include/freeradius/autoconf.h
freeradius-devel:/usr/include/freeradius/autoconf.h.in
kernel-2.6-source:/usr/src/linux-2.6.0-0.test9.5mdk/include/linux/autoconf.h
kernel22-source:/usr/src/linux-2.2.20/include/linux/autoconf.h
[root@ml root]#

Link to comment
Share on other sites

I think it is time to regroup. Here is the history of how I got where I am:

 

1. I purchased the computer from EPO the beginning of Nov. with XP, including the

Us Robotics modem (winmodem I now know).

2. I went to hal-pc where one of the members installed Mandrake 9.2 - which was

a copy from the hal-pc.org network computer that he had on cd rom's. I assume

that this is what I see on my system 2.4.22.10

He also split my system into 2 partitions, XP and Linux.

3. After US Robotics told me they do NOT support Linux and did not have drivers,

I got EPO to swap out the modem for a generic Intel536ep device which they

said was supported by Linux..

4. I went back to hal-pc and was again assisted with what I thought were the

drivers. We got up to an error message which he had seen before (I

don't remember what it was).

5. I went down to hal-pc one more time but concluded it was time I purchased my

own Mandrake license.

6. I purchased PowerPack 9.2 with the 7 CD's and manual. They air shipped it to

me within a week.

7. I got off the web - with the 536ep drivers - a readme file that got me to

the "missing autoconf.h" message. I searched the cd's but concluded this file

was not on the cd's.

8. I downloaded the kernel source 2.4.22-22.10 from a web mirror site and

burned the 40 mb onto a CD so I could go from XP to Linux. The KDE

installer did something and said "already installed".

9. I have just looked at my purchased cd's from mandrake. The version I see on the source cd 1 is:

kernel-doc-pdf-2.4.22-1mdk.i586.rpm

 

Perhaps a total reinstall of Linux with my cd's is in order ?

 

???

 

Jim

Link to comment
Share on other sites

Do what bvc suggested. If you want, use grep to see the files installed. You can also see them by gui in the MCC. Go to Remove software, and see what is listed. I have read elsewhere that compiling and encountering problems can be handled by correcting the problems and un-packing the tar file again. (Deleting the directory and starting over from that point) I don't see a reason to completely reinstall. This is not windex!! :P

Link to comment
Share on other sites

Yes, as root in a terminal

 

rpm -qa | grep kernel

and

ls /usr/src

 

and posting the output by copying/dragging the mouse and thumb or wheel clicking to the forum posting window should help. Reinstall with linux is rarely needed yet sometimes easiest, but then what would one learn? ;)

Link to comment
Share on other sites

:unsure: Getting closer...

 

I downloaded the matching kernel-source and successfully did the rpm Uvh on the rpm file.

 

I tried the make-dist-clean but it didn't do anything.

 

Then went to the driectory created by the rpm and executed

 

make 536ep

make install

 

They finished with "done"

 

Then I went to the configuration wizard:

 

autodetect

 

normal modem (windmodem resulted in: "you don't have any winmodem.")

 

/dev/modem

 

came back with "connected"

 

Having put the phone number, id and password of the server in during the wizard

process, I told it to dial.

 

I could hear it dial and get the pings back.

 

When I tried to go to mandrakeclub, hal-pc.or or yahoo, I got:

 

"the system doesn't seem to be connected to the internet. Try to reconfigure your

connection."

 

After a while, it said:

 

Problems occurred during configuration. Test your connection via net monitor or

mcc. If your connection doesn't work, you might want to relaunch the configuration."

 

I did relaunch it several times, eventually getting so the modem was locked up and would not dial at all...

 

I then restarted Linux and eventually got back to the above same status where it thinks it is connected but cannot reach the internet.

 

????

 

Incidentally, the wizard created no icon. The only way I could dial is to go through

the wizard ...

 

Jim

Link to comment
Share on other sites

install kdenetwork-kppp then look for it in the menu or run kppp from a run dialog or terminal. Drakconnect and winmodems do not mix. The errors you got I got everytime I setup mine but it worked anyway. Hopefully it's the same for you. Sometimes net_monitor would connect as well, but wait a minute after it says it failed....it bails out too fast. Kppp or wvdial is your best bet.

Link to comment
Share on other sites

  • 3 weeks later...

I'm back now - was on vacation.

 

I installed 2 out of 3 of the available kdnetwork packages using the the rpm in

the gui console. The one that would not install was:

 

kdnetwork-3.1.3-37mdk with the message:

 

"...due to unsatisfied kdnetwork-ktalk[==3.1.3-37mdk]"

 

I then installed wvdial.

 

I have no icon yet for either of these packages.

 

The ones that installed no longer display in the gui.

 

What's next ?

 

Thanks,

 

Jim

Link to comment
Share on other sites

Hi!

 

I did have a lot of problem with 536ep winmodem. Now it is working. First of all the 4.62 driver doesnot work, try 4.60 instead. Make a clean install, I mean, go to your 536ep driver directory (that you have downloaded and extracted), do make clean, make 536ep and make install (as Root/ Su). Note that after you have done make install it ends up in an error messege 'cannot remove /dev/536'. Do a manual removal by

rm -f /dev/536ep

say yes to the next

then re-link /dev/536ep by

ln -sf /dev/536ep /dev/modem

 

Now restart your kppp and use /dev/modem as your modem and configure your dial-up.

 

Hope this helps

 

Santanoo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...