General :: Distro To Use For Learning Server Device Drivers Programming?
Jan 9, 2011
I have started reading book Linux Device Drivers 3rd edition. So I want to know which is the best light weight distribution to use so that learning can be more generic and also does not involve distro specific nitty-gritty details. I have already tried building kernel for Ubuntu 10.04 but it involved different commands from what is mentioned in the book. So I am not sure whether I would be able to make further in the book. Has anybody tried?
I'm looking for the most pure linux terminal distro. I am trying to learn linux and I have Ubunutu 10.10 installed but I feel like it's not as pure as other distros, like Ubuntu 10.10 is different from the average terminal experience.
Maybe I am wrong about this, but certain things like the grub .lst file is now a .cfg file in Ubuntu, is this replicated across all linux, or is this unique to Ubuntu? Little things like this that make it difficult to learn. Are all the distros unique in this way?
I currently run Ubuntu 10.04 alongside Vista. I have been looking for a few linux projects to help me learn, the two that I have thought of have been:
1. LFS 2. Something security related
As for no.2, I am interested in learning about network security, intrusion detection, system logging, firewall logging etc. And as a project I would like to work on creating a desktop box as secure as possible, then maybe testing my own box on my home network.
1. Is there a good linux distro that is designed for security?I know people often say "the distro doesn't matter, it only matters how you configure it. 2. Does everyone agree with this? As far as security, learning, etc, are all distros created equally?
I have been reading some books about device driver development etc.I made a char driver of bond (dummy) device. My book says that PCI devices contain three addressable regions,configuration space,IO ports,and device memory,the book talks about a file include/linux/pci_ids.h and PCI addressing etc.I read about following functions
1) pci_read_config_ 2) pci_write_config_ some thing known as offset is defined to be passed on as an argument to above functions
3) IRQ number assigned to a card function pci_read_config_byte_,configuration register offsets
4) pci_request_region I want to write a pci driver for my own understanding and I am reading some books about it.
I am final year MCA student. I like to do my project in Linux. I know a little in C. I am pursuing RHCE certification. I am using rhel5. I am interested to write linux device drivers and willing to do my project in that.
We have the need to install an older Linux distribution (Suse 10) on a brand new laptop. The kernel that comes with Suse 10 doesn't have new enough drivers for the NIC and the drive controller. We've been able to find the source code for the NIC and build a working NIC kernel module however, we can not find the source code for the drive controller outside the kernel tree. Newer kernels see the drive fine; the controller is the Intel ATA_PIIX. Its included in the kernel, the hardware we have it just newer than the version in the old suse 10 kernel supports. I've crawled all over the intel site looking for the code outside the kernel source and have been unable to do so. Is it possible to lift the code from a newer kernel source tree? Is it available for download anywhere?
Edit: (from a comment below) SLED-10-SP2-x86 is the OS. The installation of these systems in an automated process, trying to change the process to include a VM (if we had the memory) or install a different base OS; while doable- can't be done in the time allowed. To get through process development, testing, UAT, staging and deployment takes much longer than the time we have. The old laptop had this same issue and the fix by my predecessor was building the NIC and drive modules by hand. We need to simply update those modules for this new laptop
tell me some sites for learning programing language Because i feel confusing for learning C programing language now I got so many questions by my studing and i want to solve them by myself too.
I have decided to try out a little bit of c++ programing so I went out and bought me a book "Sams Teach your self C++ in 21 Days" Now I am at the part of the book where you write the hello world script. when I run Code: cc hello.cpp get this
I'm trying to learn how to use USB from c code. Rather trying kernel stuff I thought I'd (after some searching ) use libusb. So I searched for documentation, unfortunately I came across two sets of documents each with it's own API? [URL] and [URL] For example one inits with libusb_init (libusb_context **context) the other uses void usb_init(void); I'm using libusb rather than kernel programming as I'd like to compile the code for windows as well as linux.
Essentially, I am reading the book "Absolute Beginner's Guide to C (Second Edition)", but the biggest problem is that it doesn't have problems nor projects to practice programming. Unfortunately, I do not have the greatest of an imagination to create my own ideas for problems to solve. Does anyone know of any sites that have good problems/projects to work on when I learn throughout the book?
Maybe I am posting something completely obvious and unnecessary here, but this is the best web site ever I found as reference for web programming.What makes this web site so special is that om almost all pages which explain some aspects of the language, a button "Try it yourself" takes you to a screen with two panes. In one pane the example is written, the other pane shows the output on a web page. In the first window you can actually change the code snippet, and see the result immediately in the pane on the other side. That is a great way to study why certain things occur as they do.
Using a Eee 900A netbook by Asus. By pressing Fn + F2, I can disable or enable the wireless chip on the netbook, a blue LED indicates the status. I've been able to connect to wireless networks just fine with this netbook. However, if the wireless chip ever becomes disabled, I have to reboot to get my network connection back. This generally happens when suspending. For some reason the LED will be off and I have to hit Fn + F2 for it to light up again.
However, after doing so, Linux will not reconnect to the network. It simply changes the wireless status from "wireless is disabled" to "device not ready". Even worse, I've recently had issues with the chip being enabled at boot, thus making it nearly impossible to get connected. I've searched around on-line but haven't found much of anything useful on this. This happens on all kinds of different distros including Ubuntu 9.10 Netbook, EeeBuntu 4 beta, Jolicloud and Ubuntu 10.04 Netbook.
I been trying to set up a DHCP3-server on my brand new learning Ubuntu 11.04 server. I can connect when i put the IP infomation in manually, so I know everything else is working, just got to fix the DHCP problem before I put the machine into production on my home LAN. Can someone tell me if these config files located at /etc/dhcp3/dhcpd.conf and another at /etc/default/dhcp3-server are correct? eth1 is the NIC that will be the LAN side of the network, I double checked that...
Code: /# A slightly different configuration for an internal subnet. subnet 192.168.10.0 netmask 255.255.255.0 { range 192.168.10.10 192.168.10.200; option domain-name-servers 8.8.8.8, 8.8.4.4; option domain-name "linuxrouter.local";
I am trying to set a home file and print serverwhile learning about Linux at the same time. How ever I have hit a wall...I am trying to install samba but I have the following messages...
Urbie:~# apt-get install samba Reading package lists... Done Building dependency tree
My question is, is it okay (for example) if i have an Ubuntu desktop and i will connect it to a Red Hat PC Server. Will it do? or should i have to have a same distro for both Desktop and Server.
I want to start learning Red Hat Linux & take it as career. I'm in Bangalore, India. Can anyone tell me good Red Hat Linux training institutes in Bangalore (possible near BTM).
I come here to seek your help in my quest to build a simple print server. You see, I have an old R31 Thinkpad and I want to hook up two Samsung printers to it. That is, I want to be able to share the aforementioned printers between Macs and PCs alike on my petty home network. I've had some success with Ubuntu server, but I find it to be a bit unstable and somewhat heavy. Could anyone recommend a distro or better yet a process by which I can set up this home server?
The IBM R31: Processor:Intel Celeron 1.13 GHz Cache Memory:256 KB - L2 cache - Advanced Transfer Cache RAM: 128 MB - SDRAM - 133 MHz - PC133 Hard Drive: 20 GB
I'm cross-posting in order to get as a wider audience to get as much feedback as possible. I am currently studying to learn the ) Gidhlig (Scottish Gaelic language and finding studying by rote out of a book a bit 'limiting'. Because of this, I am thinking about creating a software project which could act as an interactive way to helping me learn the language. I've got a few ideas floating in my head but the direction I want to take is that the software is not an alternative but an aid to be used in conjunction with traditional studying materials. I was thinking possibly small interactive games or exercises that both are fun as well as to test and use the parts of language I have learned. There might also be a bit of reporting to show strengths and weaknesses.
Firstly, the technical specifications, that offhand, I can think of that the project will need to meet:
1. Cross-platform (while I would like it to be just Linux, I have to be realistic that people would rather use Windows)
2. The language data is separate from main program so that the software can be used with other languages.
3. Not too complex so that it is quick and easy to program as I will be doing it myself.........
Is there a recommended NAS device (preferably only an enclosure which I can change the SATA HDs) in the market that the OS used in the NAS device can be changed by installing either Lubuntu or Mint LXDE?These are the things I am looking for with the NAS device
> Accessible using Linux, Windows and OSX > Low powered and power saving as it will be open 24/7 plugged into a UPS > Has to have all of these programs: Dropbox, XChat, Chromium, JDownloader, utorrent (through Wine), VNC, TeamViewer, FreeNX
[code]....
I have something similar going on with my relatively old (it's core 2 duo I think) monitor-busted laptop for around a year now. But the discspace of that is only 160GB and it's somewhat a pain to always migrate the files. I'm also thinking it would be good storage of lots of big pictures as my brother is a hobbyist turned professional photographer and I am an apprentice of his. It will also be stored with lots of videos and sound files that can be accessed at least through the network.
I'm thinking of at least having it 2TB but there currently are two problems with the current laptop namely: the USB plug of the laptop has serious problems that it disconnects the USB2 randomly then makes it USB1 speed. Secondly, it has bad heat management that it shut downs randomly without a word (or so I think it's because of that it shuts down).
As much as I would like to build from the junk of old computers we don't use, I don't think I have the time recently to make my own NAS and experiment (and even though I'm excited in learning and setting up RAID - I don't think I have that luxury of a time at the moment).
I've been reading last night of devices like Buffalo Link Station and such but most if not all of them have their own preinstalled OS and Google searches doesn't stumble me to an. What I want actually is install Mint LXDE or Lubuntu as I prefer that it has the features and programs I'm currently using right now with the 160GB network storage.
Is there a NAS device in the market I can install Lubuntu or Mint LXDE (yeah, I think LXDE will be the best environment for the things I will do for it)? Or is it still better that I make some time and build my own NAS? Please advice *bows deeply*
PS: I've been checking for NAS devices available at a tipidpc.com (a very big local tech selling community) and found these:
Linksys Cisco NAS 200 dual SATA bay - [URL] Buffalo Link Station Duo LS-WXL/E - [URL] EtrayZ 2-bay [URL]
Do any of the abovementioned devices can be installed with Linux LXDE distro?
I'm trying to build a server using the SME distro and MySQL. Following the tutorials for MySQL, I need to have certain software installed. How do I know what programs I have installed?
I like puppy apart from the file manager, you could probably download a different FM from the package manager, but i am looking for a new distro. I know DSL as well and i think it's good but there must be better. I will mainly be using it for 2 reason
a) Recover(backup) files from a windows system i can't boot into b) To access the net of a system i can't boot into
1) Be under 200MB 2) Fast to boot 3) Have network support including wireless 4) Have sata support and ideally raid support 5) Good file manager 6) As windows like as possible 7) Easy to copy files from HD to usb stick and easy to set permissions .
Possible Duplicate: Version of Linux with a command prompt?
Which software of Linux to use for command line running? Since I am using MySQL to run from Linux and want to run Linux, which software to download in Linux? There are multiple ones. Can I run .sh scripts and learn how to operate on Linux using the command line? Also use MySQL as backend on Linux?
I've been switched to a new department at work and am totally clueless when it comes to scripting in bash. When I told them I was a fast learner, I didn't think they'd throw me into the deep end of the pool so fast. So to make a long story short. What is a great book to start learning scripting in bash? My supervisor already gave me a simple task to do. Conceptually it sounds quite easy in my head, but actually writing out a script is a bit more daunting and complexed than I first thought.