Advertising
- Mine
- Thursday, February 1st, 2007 at 9:47:14pm UTC
- /* testing program for C++ #1 */
- #include <iostream>
- using namespace std;
- int main(void)
- {
- int option = 0;
- int empty = 0;
- string name; // this is the user's name;
- cout<<"How are you today? Please enter your name"<<endl;
- cin>>name;
- cout<<"Welcome "<<name<<", Now we can begin, please choose an option."<<endl;
- cout<<"Option #1: How to compile a kernel"<<endl;
- cout<<"Option #2: How to install Ndiswrapper"<<endl;
- cout<<"Option #3: How to create ~/bin/ and ~/source/ and why"<<endl;
- cin >> option;
- if (option == 1)
- cout << "How to compile a kernel! First, download the newest kernel from http:///www.kernel.org and mv/cp it to /usr/src. Then extract it there, cd into the dir that was created (usually /usr/src/linux-VERSION)" << endl;
- else if (option == 2)
- cout << "How to install Ndiswrapper! Usually installing ndiswrapper requires that you downlaod the package from ndiswrapper.sourceforge.net. Then after you get it install it, if you have the tar do a 'tar xfvz <filenamehere>.tar.gz' then cd into that dir and do ' ./configure' 'make' and as root finally do 'make install'. Next plugin your wireless card, copy the windows drivers to a dir of there own, then cd into that dir. run these following commands 'ndiswrapper -i <drivernamehere>.inf' then 'ndiswrapper -l' to see if its present. Then do 'modeprobe ndiswrapper', if it doesn't connect you might have to run 'iwconfig wlan0 essid <networks_name>' and then 'dhclient wlan0."<<endl;
- else if (option == 3)
- cout << " How to create ~/bin/ and ~/source/ and why. The purpose of ~/bin/ is that thats where you can place your scripts and apps you write. ~/source/ is where you place your files that you want to install. to make these dirs cd into your home directory and run these following commands. 'mkdir bin' and 'mkdir source'" << endl;
- return 0;
- }
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.