Trying to use Arch Linux with a T-Mobile HSPDA E1750 USB dongle

Hello all,
I have just installed Arch Linux on my desktop and need a way to either connect it to my LAN which is sharing the dongle connection from my laptop running ubuntu 10.04 via, ICS, DHCP3 and FIrestarter, Or simply plug in the dongle to my Arch Desktop. I have been researching commands to connect to networks with all day and have had no luck. My internet connection is being shared over ethernet through a DSL-2640R router.
I need this connection so i can install the GUI and make it fully functional. So if anyone has any ideas, guides or sites that may help me with this problem then please share.
Thank you,
SlashWannabe94

Hello, I bought a Huawei E1750, too. Today I got it working.
The most important things I got from here.
However, my stick differs a bit from yours as it has product ID 1436.
There was no need for an udev-rule, I wouldn't even know where to put it in etc (there is no udev/rules.d folder in arch?).
You need "usb_modeswitch" and the "option" module. At first I wrote an usb_modeswitch configuration, but it seems not necessary as commenting it out had no influence. The option module is loaded for me if i plug the stick in, no need to care about it further. So, except for installing usb_modeswitch everything works out of the box.
If dmesg tells you something like:
[33750.443606] cdc_ether 2-1.5:1.1: wwan0: register 'cdc_ether' at usb-0000:00:1d.0-1.5, Mobile Broadband Network Device, 02:50:f3:00:00:00
[33750.443756] usbcore: registered new interface driver cdc_ether
[33750.455202] USB Serial support registered for GSM modem (1-port)
[33750.455286] option 2-1.5:1.0: GSM modem (1-port) converter detected
[33750.455665] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB0
[33750.455692] option 2-1.5:1.3: GSM modem (1-port) converter detected
[33750.455823] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB1
[33750.455839] option 2-1.5:1.4: GSM modem (1-port) converter detected
[33750.455967] usb 2-1.5: GSM modem (1-port) converter now attached to ttyUSB2
that should be the case for you, too. This means modeswitch did its job and you are ready to connect.
Now you have to tell your pin to the stick and connect. I'm doing this using "wvdial" and "pppd".
You'll need the "ppp_generic" module to proceed.
My /etc/wvdial.conf looks like this:
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
[Dialer pin]
Init1 = AT+CPIN=1234
[Dialer provider]
Phone = *99#
Username = fonic
Password = fonic
Stupid Mode = 1
Dial Command = ATDT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","pinternet.interkom.de"
Adopting the pin and the connection address should do. Then you can start your internet by typing:
wvdial pin
wvdial provider
I have to admit wvdial did not work at first(the device refused the AT commands). From frustration I started windows to see if it works there, it did, and the next day this whole configuration simply worked.
Success!
Last edited by stuffel (2011-07-20 22:36:12)

Similar Messages

  • Dual booting Windows 8 and Arch Linux with UEFI

    Hi all!
    I'm trying to install Arch Linux on my computer where I already have Windows 8, and I'm getting a little stuck when it comes to the partitioning.
    Following the beginner's guide and the method here: https://wiki.archlinux.org/index.php/Un … n_in_Linux for setting up the partitions properly, regarding UEFI. My problem is that when using cgdisk to set up a new EFI system partition (ef00), I get an error message when trying to write the partition table (just saying that something went wrong). I figure the problem is that I already have a partition like this (correct me if I'm wrong), but it really looks like it succeded (see info below). So my question is: How do I preceed to keep my Windows 8 installation happy, but installing Arch? Do I remove the old EFI system partition and create a new one, or is there some method that allows me to edit the already existing one, to allow me to dual boot Windows 8 and Arch?
    My partition table now looks like this:
    Part. # Size Partition Type Partition Name
    1007KB free space
    1 500MB Windows RE Basic data partition
    2 300MB EFI System EFI system partition (this one was already present on my system)
    3 128MB Microsoft reserved Microsoft reserved partition
    4 63.5GB Microsoft basic data Basic data partition
    8 512MB EFI System EFI System partition (this is the one I tried to create when I got the error message)
    5 29.5GB Linux filesystem Arch (this is where I was going to put my Arch installation)
    6 22GB Windows RE Basic data partition
    7 1024MB Windows RE Basic data partition
    615KB free space
    Just for the record; I only created partition #8 and #5.
    Any help is appreciated! And sorry for beeing a total noob, but I really suck at this.

    sudo make sandwich wrote:If it is possible to share ESP between OSes, how do I do this (would it be sufficent to follow this section: https://wiki.archlinux.org/index.php/Beginners'_Guide#For_UEFI_motherboards)?
    There's really very little to do to share an ESP between OSes. Most OS installers will auto-detect the ESP and use it. Problem solved. For Arch it may be a bit more effort just because Arch uses a more hands-on installation process, but I've only done a couple of Arch installations, and the last one was several months ago, so I don't recall the details clearly enough to comment.
    And how big will the partition need to be? The beginner's guide says 512MB or higher.
    I don't know what was in the mind of the author, but my guess is that's because that's roughly the cutoff point where mkdosfs starts creating FAT32 by default rather than FAT16. The ESP is officially supposed to be FAT32, not FAT16, although FAT16 usually works OK. It's also possible to create FAT32 on smaller partitions by using an explicit option to mkdosfs ("-F 32").
    The optimal size of the ESP depends on the files stored on it. If you don't store your Linux kernels, something as small as 100MiB is usually adequate; but a few Linux kernels and their initrd files can consume twice that amount. My own recommendation is for the ESP to be 200-500MiB.
    The only error message I got from cgdisk is "Problem saving data! Your partition table may be damaged!", however booting Windows again works fine. Parted did not complain about antything.
    Use the "verify" function in cgdisk. That will reveal any problems with the data structures. If a verify turns up OK, then that means that cgdisk ran into some sort of disk problem. Running gdisk rather than cgdisk and using the gdisk "w" option (without making any changes) may produce a more helpful error message.

  • Installing/using Arch linux in Parallels on Mac OS X Lion MBP Retina

    I am having a problem where I can't install or use Arch Linux as the same error always crops up at some point or another.
    loading user-specifide modules [busy]
    pc_ich: RCBA is disabled by hardware/BIOS, device disabled
    pc_ich [some random numbers]: I/O space for GPIO uninitialized
    BUG: soft lockup -- CPU#0 stuck for 22s [kworker/u:0:5]
    Thanks for any ideas.

    I am pretty sure that Linux has some known serious issues with thre retina Macbook as well as some of the new Airs.
    See this thread, it may help: https://bbs.archlinux.org/viewtopic.php?id=144255&p=1
    Edit: Sorry i didn't read the "Parallels" in the title.  Though I am not familiar with parallels, so I am not sure what kind of system it is actually trying to emulate.  What happens if you use something else like virtualbox or some other free virtual machine software.
    Last edited by WonderWoofy (2012-09-27 03:18:07)

  • [SOLVED]Is there anybody using arch linux in coLinux?

    Hei,guys!
    I'm using arch linux in coLinux.I got the image file from sf and I successfully booted it on my machine,em,everything seemed to be OK.But when I tried to do this:
    pacman -Syu
    I got this message :
    checking package integrity...
    error: error while reading package /var/cache/pacman/pkg/gdbm-1.8.3-7-i686.pkg.tar.xz: Unrecognized archive format: Invalid or incomplete multibyte or wide character
    error: failed to commit transaction (libarchive error)
    Errors occurred, no packages were upgraded.
    I think the pacman(maybe just libarchive) is too old to recognize the .pkg.tar.xz files. So dose someone have an idea to work out it?
    Last edited by Cristie (2011-05-28 16:03:35)

    @twilight0:yeah,I acknowledge that,but it didn't work at all. I guess you didn't understand my problem. You know, the pacman coudn't upgrade (in fact I was unable to install any packages) just because the libarchive package was out of date (it meant that I could do nothing with the .tar.xz files downloaded from the mirrors).So I solved the problem by doing like this(Stupid it is, but it really works):
    1.Download libarchive from any of the mirrors around the world.
    2.Find a way to access to the files you just downloaded.
    3.Replace the original libarchive files.
    4.Mofify the local db.It is OK to do this:go to /var/lib/pacman/local,rename the libarchive-VERSION to current version.
    Then I found that depences need openssl >= 1.0.0, so try the same proccess with it.
    So,now everything is running very well.
    Last edited by Cristie (2011-05-28 16:20:03)

  • Trying to install Arch Linux on a HP-dv2000 laptop

    I am able to start up from, the CD no problem. I get the Arch Linux menu. What I think is the problem is maybe a resolution issue because as I go to install it, the screen looks wonky and I can't see the command line properly. I know when I install Ubuntu for example, the installation screen looks off to one side. Only after installing the nvidia driver after successfully installing Ubuntu does the screen look the way it supposed to.
    I think the same think is happening here when trying to install Arch Linux. Any suggestions on how I can resolve this? This is a big deal for me because for the first time, I think I am going to learn a ton of stuff about Arch Linux. I am willing to take the plunge following the beginner's guide along the way.
    Thanks for the help!!

    ArchLinux is designed to run whether in VirtualBox or on a real machine. 
    If you have a TV connector plugged in it will chop some regular lines at the bottom to make up for the difference in TV resolution.
    There are a couple of packages related to nvidia hardware, nouveau is one of them.  Just do a pacman -Ss nvidia for possibilities of things you might need to install.  Your nvidia hardware is a little newer, so probably nvidia is the package you'll need instead of nouveau. 
    Are you using X?  When you install the proper xf86-video-* driver it shouldn't have any problems with X.  If modesetting is turned off, then some resolutions may not be made available (especially in Gnome), so it is best to keep it turned on if at all possible (kernel default).
    Last edited by nomorewindows (2012-03-12 17:19:55)

  • Install Arch Linux with UEFI and GPT

    Hi, I purchased a new laptop and I created a partition with Windows 8 (default OS on laptop) and another partition where I want to install Arch Linux.
    When I tried to install Arch Linux not boot from CD. After searching in Google I downloaded the latest Arch Linux ISO (2012-12-01) and tried again.
    This time CD started without problems but when I used cfdisk showed an error with GPT partition. I went back to search in Google and I read about gdisk and gfdisk and I try it but when I partitioning to install Arch Linux partition show that may cause damage. I searched and searched without success and I wonder if there is a Arch Linux GPT install guide or if someone knows how to install Arch Linux with GPT and a Windows 8 partition in UEFI.
    Thanks and regards.

    Hi again, finally I got "install" Arch Linux but when I reboot the follow message appears:
    "No Booteable Device, Hit any key."
    I don't know if I broke Windows Boot Manager, UEFI or both...
    I tried to reinstall GRUB but was unsuccessful.
    Can anyone help me?
    Thanks and regards.

  • I'm trying to use kerberos V5 with ActiveDirectory but get an error

    I'm trying to use kerberos V5 with ActiveDirectory im using simple code from previuos posts but
    when i try with correct username/password i get :
    Authentication attempt failedjavax.security.auth.login.LoginException: Message stream modified (41)
    when i try incorrect username/pass i get :
    Pre-authentication information was invalid (24)
    Debug info is :
    Debug is  true storeKey false useTicketCache false useKeyTab false doNotPrompt false ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is false principal is null tryFirstPass is false useFirstPass is false storePass is false clearPass is false
    Kerberos username [naiden]: naiden
    Kerberos password for naiden:      naiden
              [Krb5LoginModule] user entered username: naiden
    Acquire TGT using AS Exchange
              [Krb5LoginModule] authentication failed
    Pre-authentication information was invalid (24)
    Authentication attempt failedjavax.security.auth.login.LoginException: Java code is :
    import javax.naming.*;
    import javax.naming.directory.*;
    import javax.security.auth.login.*;
    import javax.security.auth.Subject;
    import com.sun.security.auth.callback.TextCallbackHandler;
    import java.util.Hashtable;
    * Demonstrates how to create an initial context to an LDAP server
    * using "GSSAPI" SASL authentication (Kerberos v5).
    * Requires J2SE 1.4, or JNDI 1.2 with ldapbp.jar, JAAS, JCE, an RFC 2853
    * compliant implementation of J-GSS and a Kerberos v5 implementation.
    * Jaas.conf
    * racfldap.GssExample {com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true doNotPrompt=true; };
    * 'qop' is a comma separated list of tokens, each of which is one of
    * auth, auth-int, or auth-conf. If none is supplied, the default is 'auth'.
    class KerberosExample {
    public static void main(String[] args) {
    java.util.Properties p = new java.util.Properties(System.getProperties());
    p.setProperty("java.security.krb5.realm", "ISY");
    p.setProperty("java.security.krb5.kdc", "192.168.0.101");
    p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
    System.setProperties(p);
    // 1. Log in (to Kerberos)
    LoginContext lc = null;
    try {
    lc = new LoginContext("ISY",
    new TextCallbackHandler());
    // Attempt authentication
    lc.login();
    } catch (LoginException le) {
    System.err.println("Authentication attempt failed" + le);
    System.exit(-1);
    // 2. Perform JNDI work as logged in subject
    Subject.doAs(lc.getSubject(), new LDAPAction(args));
    // 3. Perform LDAP Action
    * The application must supply a PrivilegedAction that is to be run
    * inside a Subject.doAs() or Subject.doAsPrivileged().
    class LDAPAction implements java.security.PrivilegedAction {
    private String[] args;
    private static String[] sAttrIDs;
    private static String sUserAccount = new String("Administrator");
    public LDAPAction(String[] origArgs) {
    this.args = (String[])origArgs.clone();
    public Object run() {
    performLDAPOperation(args);
    return null;
    private static void performLDAPOperation(String[] args) {
    // Set up environment for creating initial context
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY,
    "com.sun.jndi.ldap.LdapCtxFactory");
    // Must use fully qualified hostname
    env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389/DC=isy,DC=local");
    // Request the use of the "GSSAPI" SASL mechanism
    // Authenticate by using already established Kerberos credentials
    env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    env.put("javax.security.sasl.server.authentication", "true");
    try {
    /* Create initial context */
    DirContext ctx = new InitialDirContext(env);
    /* Get the attributes requested */
    Attributes aAnswer =ctx.getAttributes( "CN="+ sUserAccount + ",CN=Users,DC=isy,DC=local");
    NamingEnumeration enumUserInfo = aAnswer.getAll();
    while(enumUserInfo.hasMoreElements()) {
    System.out.println(enumUserInfo.nextElement().toString());
    // Close the context when we're done
    ctx.close();
    } catch (NamingException e) {
    e.printStackTrace();
    }JAAS conf file is :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };krb5.ini file is :
    # Kerberos 5 Configuration File
    # All available options are specified in the Kerberos System Administrator's Guide.  Very
    # few are used here.
    # Determines which Kerberos realm a machine should be in, given its domain name.  This is
    # especially important when obtaining AFS tokens - in afsdcell.ini in the Windows directory
    # there should be an entry for your AFS cell name, followed by a list of IP addresses, and,
    # after a # symbol, the name of the server corresponding to each IP address.
    [libdefaults]
         default_realm = ISY
    [domain_realm]
         .isy.local = ISY
         isy.local = ISY
    # Specifies all the server information for each realm.
    #[realms]
         ISY=
              kdc = 192.168.0.101
              admin_server = 192.168.0.101
              default_domain = ISY
         }

    Now it works
    i will try to explain how i do this :
    step 1 )
    fallow this guide http://www.cit.cornell.edu/computer/system/win2000/kerberos/
    and configure AD to use kerberos and to heve Kerberos REALM
    step 2 ) try windows login to the new realm to be sure that it works ADD trusted realm if needed.
    step 3 ) create jaas.conf file for example in c:\
    it looks like this :
    ISY {
         com.sun.security.auth.module.Krb5LoginModule required
    debug=true;
    };step 4)
    ( dont forget to make mappings which are explained in step 1 ) go to Active Directory users make sure from View to check Advanced Features Right click on the user go to mappings in secound tab kerberos mapping add USERNAME@KERBEROSreaLm for example [email protected]
    step 5)
    copy+paste this code and HIT RUN :)
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NamingEnumeration;
    import javax.naming.NamingException;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    import javax.security.auth.Subject;
    import javax.security.auth.login.LoginContext;
    import javax.security.auth.login.LoginException;
    import com.sun.security.auth.callback.TextCallbackHandler;
    public class Main {
        public static void main(String[] args) {
        java.util.Properties p = new java.util.Properties(System.getProperties());
        p.setProperty("java.security.krb5.realm", "ISY.LOCAL");
        p.setProperty("java.security.krb5.kdc", "192.168.0.101");
        p.setProperty("java.security.auth.login.config", "C:\\jaas.conf");
        System.setProperties(p);
        // 1. Log in (to Kerberos)
        LoginContext lc = null;
        try {
                lc = new LoginContext("ISY", new TextCallbackHandler());
        // Attempt authentication
        lc.login();
        } catch (LoginException le) {
        System.err.println("Authentication attempt failed" + le);
        System.exit(-1);
        // 2. Perform JNDI work as logged in subject
        Subject.doAs(lc.getSubject(), new LDAPAction(args));
        // 3. Perform LDAP Action
        * The application must supply a PrivilegedAction that is to be run
        * inside a Subject.doAs() or Subject.doAsPrivileged().
        class LDAPAction implements java.security.PrivilegedAction {
        private String[] args;
        private static String[] sAttrIDs;
        private static String sUserAccount = new String("Administrator");
        public LDAPAction(String[] origArgs) {
        this.args = origArgs.clone();
        public Object run() {
        performLDAPOperation(args);
        return null;
        private static void performLDAPOperation(String[] args) {
        // Set up environment for creating initial context
        Hashtable env = new Hashtable(11);
        env.put(Context.INITIAL_CONTEXT_FACTORY,
        "com.sun.jndi.ldap.LdapCtxFactory");
        // Must use fully qualified hostname
        env.put(Context.PROVIDER_URL, "ldap://192.168.0.101:389");
        // Request the use of the "GSSAPI" SASL mechanism
        // Authenticate by using already established Kerberos credentials
        env.put(Context.SECURITY_AUTHENTICATION, "GSSAPI");
    //    env.put("javax.security.sasl.server.authentication", "true");
        try {
        /* Create initial context */
        DirContext ctx = new InitialDirContext(env);
        /* Get the attributes requested */
        //Create the search controls        
        SearchControls searchCtls = new SearchControls();
        //Specify the attributes to return
        String returnedAtts[]={"sn","givenName","mail"};
        searchCtls.setReturningAttributes(returnedAtts);
        //Specify the search scope
        searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
        //specify the LDAP search filter
        String searchFilter = "(&(objectClass=user)(mail=*))";
        //Specify the Base for the search
        String searchBase = "DC=isy,DC=local";
        //initialize counter to total the results
        int totalResults = 0;
        // Search for objects using the filter
        NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
        //Loop through the search results
        while (answer.hasMoreElements()) {
                SearchResult sr = (SearchResult)answer.next();
            totalResults++;
            System.out.println(">>>" + sr.getName());
            // Print out some of the attributes, catch the exception if the attributes have no values
            Attributes attrs = sr.getAttributes();
            if (attrs != null) {
                try {
                System.out.println("   surname: " + attrs.get("sn").get());
                System.out.println("   firstname: " + attrs.get("givenName").get());
                System.out.println("   mail: " + attrs.get("mail").get());
                catch (NullPointerException e)    {
                System.err.println("Error listing attributes: " + e);
        System.out.println("RABOTIII");
            System.out.println("Total results: " + totalResults);
        ctx.close();
        } catch (NamingException e) {
        e.printStackTrace();
    }It will ask for username and password
    type for example : [email protected] for username
    and password : TheSecretPassword
    where ISY.LOCAL is the name of kerberos realm.
    p.s. it is not good idea to use Administrator as login :)
    Edited by: JOKe on Sep 14, 2007 2:23 PM

  • I am trying to use apple configurator with ipads. I have been successful with all our ipads but 1. It will not allow me to add apps. The error I get is that it is refreshed but with errors e

    I am trying to use apple configurator with ipads. I have been successful with preparing and supervising all ipads but one. When preparing it in configurator, I receive an error that it is refreshed but with an error. Under supervise, I am not able to add apps. I have erased all content to start over but this does not work either

    Are you trying to restore a backup, or just sync some apps? Do you have profiles installed on the device?
    Have you plugged the ipad into iTunes, and did a fresh install? I'm assuming the device went through the prepare setup properly. You many have to unsupervise it first, then plug it into iTunes to wipe it completely.
    I'd then do each step seperately. Prepare it, then install 1 app, if that works, try another app, then maybe a profile.

  • A VERY Easy Tutorial on doing a clean install of Arch Linux with Gnome

    is there anyone who could help me test Arch Linux with Gnome DE?

    The pacman bit is new, and has already been solved: [SOLVED] pacman update fails: gcc requires gcc-libs=4.7.0-3
    Just press "N" and you'll see that pacman will be on the list.
    Welcome to the forums.
    Edit:
    Shahe1993 wrote:is there anyone who cou...
    Oh. Feeling a bit busy there, huh? Nevermind.
    Last edited by DSpider (2012-04-12 17:28:18)

  • [SOLVED] Trying to install Arch Linux from harddisk using /dev/sda2

    Hi
    I'm trying to install Arch using my swap partition, following this wiki entry: https://wiki.archlinux.org/index.php/Ha … stallation
    What I've done:
    Downloaded ISO: archlinux-2010.05-netinstall-i686.iso
    Command: swapoff /dev/sda2
    Command: fdisk /dev/sda and changed the system type to 83 (Linux) on /dev/sda2
    Now it looks like:
    Command (m for help): p
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00017e5b
    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1060289 530144+ 83 Linux
    /dev/sda2 1060290 3164804 1052257+ 83 Linux
    /dev/sda3 3164805 105579179 51207187+ 83 Linux
    /dev/sda4 105579180 488392064 191406442+ 83 Linux
    It complained about device was busy, but it still seemed to have changed the system type, so I did partprobe as it wrote.
    WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
    The kernel still uses the old table. The new table will be used at
    the next reboot or after you run partprobe(8) or kpartx(8)
    Syncing disks.
    [root@swamp ~]# partprobe
    <no output>
    Next I did:
    [root@swamp ~]# dd if=archlinux-2010.05-netinstall-i686.iso of=/dev/sda2
    327680+0 records in
    327680+0 records out
    167772160 bytes (168 MB) copied, 4.3025 s, 39.0 MB/s
    [root@swamp ~]# mkdir /mnt/sda2
    [root@swamp ~]# mount /dev/sda2 /mnt/sda2
    mount: warning: /mnt/sda2 seems to be mounted read-only.
    [root@swamp ~]# ls -al /mnt/sda2
    total 150466
    dr-xr-xr-x 3 root root 240 May 16 15:54 .
    drwxr-xr-x 6 root root 4096 Nov 5 01:40 ..
    dr-xr-xr-x 3 root root 556 May 16 15:52 boot
    -r--r--r-- 1 root root 448 May 16 15:54 isomounts
    -r--r--r-- 1 root root 8192 May 16 15:54 overlay.sqfs
    -r--r--r-- 1 root root 154058752 May 16 15:54 root-image.sqfs
    And unmounted it again.
    The wiki page says to type: fsck -f /dev/sda2fsck, but I get no such file while trying to open sda2fsck.
    [root@swamp ~]# fsck -f /dev/sda2fsck
    fsck from util-linux-ng 2.18
    e2fsck 1.41.12 (17-May-2010)
    fsck.ext2: No such file or directory while trying to open /dev/sda2fsck
    The superblock could not be read or does not describe a correct ext2
    filesystem. If the device is valid and it really contains an ext2
    filesystem (and not swap or ufs or something else), then the superblock
    is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    Can I ignore the above and continue modifying grub?
    Thanks :-)
    Last edited by valvet (2010-11-08 14:49:07)

    fsck -f /dev/sda2fsck makes no sense because /dev/sda2fsck is not a deivce. If the wiki says that, then it is wrong. It's only doing a fsck anyway so probably not really needed. If you are just formatting th swap partition then use, mkfs.ext{234}.
    edit:
    from the wiki
    # fsck -f /dev/sda2fsck 1.40.8 (13-Mar-2008)
    e2fsck 1.40.8 (13-Mar-2008)
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure
    Pass 3: Checking directory connectivity
    Pass 3A: Optimizing directories
    Pass 4: Checking reference counts
    Pass 5: Checking group summary information
    /dev/sda2: ***** FILE SYSTEM WAS MODIFIED *****
    /dev/sda2: 243/78936 files (8.2% non-contiguous), 310519/314880 blocks
    The first like should just be
    # fsck -f /dev/sda2
    Last edited by sand_man (2010-11-05 06:46:01)

  • Why not use Arch Linux only?

    Named as an Arch Linux "Linux Addict" (according to my upgraded user profile ), for some times I have asked myself why use other distros than AL, especially RedHat, SuSE and Mandrake. What do they provide what AL doesn't?
    One of the roles of RedHat became clear reading Linux Today, though it may not be for the common users but have to admit its impressive (there are three major advances in the new RHEL3 product line....):
    http://linuxtoday.com/it_management/2003102200926NWRHSW
    PS.
    Does it sound like I am addicted??... it feels natural   :idea: 

    maturity? stable? can't trust?
    let me tell you something i learned by experience ...
    i runed SuSE for long time (from 5.2 to 8.1) and what i know they do wrong is: if you have e.g. 6.0 (the most stable SuSE i know) then you can update your packages over internet, but after some time you will be "forced" to  buy the next release that is totally differently constructed (7.1, because it uses YaST2 instead of the YaST and other stupid inovations that you cannot easily update from internet) ... and after a while again you have to upgrade by buying the next one ...
    sure, you install it in about an hour and everything works, but hey, each package costs some money and this install is each time from quite 0 (because the integrated update often does not work) :-(
    trusting?
    i trust only in systems i configure myself ... and since SuSE 7.2 i lost the overview in where you can configure what and why ... and you are not sure that YaST2 will change your changed settings to default
    archlinux is fully configureable and does not have a tool that changes files behind your back (well, there is one case: when you update init-scripts with packman without setting in pacman.conf to exclude some files you changed ... but also then you can restore the settings by mv'ing the original files to their right name-links :-)
    why using also other distros?
    well since arch 0.5 i removed all other linuces from my machine (to save space) and now have only arch and winXP ... xp is used only for watching tv (because hauppauge usb "usbvision" module cannot be compiled with  a 2.4.x or 2.6.0tx kernel (but 2.5.x) and because of ebanking software that will not install on archlinux but easily on SuSE and WinXP (need the original sun's java vm, but have no time to construct a PKGBUILD for sun's jdk 1.4)
    ... and the needed other software i built packages of and installed on my local repository (and also copied in incoming) ... now i'm quite happy with archlinux as an OS (and i hope with a more advanced 2.6.x TV will come too, and java i will find one day time to build for ebanking)
    -> "use an OS that works, use archlinux"
    ps
    and about "linux addict":
    no, i dont think i'm addict, but i use this forum as a normal member  (to help others switching to an os that works,  to help people with problems i had myself often some time ago, to ask if i find something interessting or funny about something in arch, to inform that i built packages and put them in incoming :-) ... i would be much happier to have "regular user" instead of "linux addict", but that's something i cannot change

  • MAME box using Arch Linux

    Hi.
    As explained in my introduction, I want to set up a MAME box for my arcade cabinet, and I think that Arch Linux will be the best way to achieve it, since I want a barebone system with the sole command line, the goal being that each time I fire up the system, it directly ends to the SDLMAME front end without having to go through such a thing as Gnome or KDE, and without having to use a physical keyboard at all, just the joystick control.
    Also, I like the fact the system will autoupdate itself, especially since it will be connected to my network and that I will be using SSH for setting it up from my desktop computer and accessing it when needed.
    So, I will use:
    1. Arch Linux
    2. SDLMAME
    3. A front end, but I don't yet which one, maybe Wah!cade.
    I would especially need help with the front end, to choose the right one for my needs, and also to know which components will be needed.
    Also, if ever I would like to program my own, any guideline and suggestions are very welcomed. :-)
    TIA!

    qmc is a Qt based frontend for sdlmame, and aur has several packages for frontends.
    If you want to write your own launcher, you'll also have to implement a way to select the games.
    That basically suggests you have to design something, and probably need an IDE to develop it.
    Best seems to choose a programming language you are familiar with.
    For windowmanagers , look at https://wiki.archlinux.org/index.php/Window_Manager

  • Use Arch Linux Disc Just For GRUB?

    I already installed Arch linux, and have it up and running just fine. I have a second hard drive that has no partitions or uses as of yet. Would it be possible for me to install Windows on /sdb, install GRUB with the Arch disk to /sda, uncomment out the WIndows entry in the GRUB .conf file, and get a working dualboot?

    Let's clarify exactly what you want to do.
    My understanding at this point is that sda is the main boot disk and that you currently have GRUB and Arch installed on it. You want to install Windows on sdb and you think that you have to overwrite GRUB on sda during the boot process to get Windows to boot properly. You therefore want to know how you can restore GRUB on sda after a successful installation of Windows on sdb.
    If that's not the case, please clarify further.
    If that is the case, then I don't think you need to do it that way. Set sdb to the main boot disk and then install Windows and the Windows boot loader normally on sdb. Once that's done, reset the main boot disk to sda and then edit GRUB to chainload sdb. This way you do not need to faff about with the Windows boot loader later if you decide to boot directly into Windows at a later date. The Windows installation remains independent on its own disk which is the easiest way to dualboot imo.
    As for your question about installing GRUB from the liveCD, I think your actual question is whether you can overwrite the MBR of sda with GRUB from the liveCD (which is not the same as "installing" GRUB). I think you can by jumping to that step in the setup, but I am not sure and I suggest that you wait for confirmation from someone else who is.
    Last edited by Xyne (2009-08-21 23:19:11)

  • I have a hp hpe-595a, i'm trying to use stereo mix with a hot mic. anyone know how to do this?

    I'm trying to sing along with the music in the chat program Paltalk and also host a music room on the same program, I can only use the mic or stereo mix but not both at the same time.
    I have been using this chat program for over 5yrs and have always been able to use Stereo mix with the mic active, using the realteck codecs or soundblaster (what you hear)
    I can't do this with the IDT codecs supplied.

    Hey Redritr,
    Thanks for the question. iTunes purchases are billed to Store Credits first, before Credit Cards, as outlined by the following article:
    When making purchases, content credits are used first, followed by Gift Certificate, iTunes Card, or Allowance Account credits; your credit card or PayPal account is then charged for any remaining balance.
    via iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    It also may be that the iTunes Store is prompting to verify your billing information:
    When there is a mismatch between the iTunes Store's records and your credit card company's records, you will receive an error message stating that your credit card's security code isn't valid or that your zip code does not match your bank's records.
    In most cases, this issue is caused by a formatting error in the billing address that you have provided. You can correct the issue by verifying that the information you have provided is correct, or by changing the format of your address to match the format that your credit card company has on file.
    via iTunes Store: My credit card's security code or zip code does not match my bank's records
    http://support.apple.com/kb/TS1646
    Additional Information:
    Why can’t I select None when I edit my payment information?
    http://support.apple.com/kb/TS5366
    Thanks,
    Matt M.

  • [SOLVED] Use Arch Linux as internet forwarding for wdr router

    Hi
    I'm trying to flash my wdr3600 with openwrt. Now, the problem is that I want to use my desktop to share my internet to this router.
    But, when I'm trying to ping google on this device, I get an 'unknown host' error. I've already set up my default gw correctly. What am I missing?
    Last edited by TheChosenOne (2014-07-14 12:20:20)

    Sorry, I cannot ping 8.8.8.8
    My route -n is
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.1.10    0.0.0.0         UG    0      0        0 eth0
    192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
    With 192.168.1.10 the ip of my desktop that forwards.
    Last edited by TheChosenOne (2014-07-10 07:43:05)

Maybe you are looking for

  • Report Engine error in BO XI R3.1

    I am using BO XI R 3.1 to connect to BO R3 Report Server. While trying to open a report from the server, i am getting the following error. Could not initialize Report Engine server. (Error: RWI 00226)      at com.businessobjects.rebean.wi.occa.OccaCo

  • New iPod touch stopped working (recovery mode)

    Hi! I bought a 8 GB iPod Touch 2 weeks ago. It worked fine until today. I left US yesterday and arrived in Europe today. After the flight I tried to switch on my iPod and its started in recovery mode. iTunes said I need to restore and upgrade the iPo

  • Mapping Issue with UDF

    I am in the middle of doing a webservice call from within a UDF. The problem is that when I am declaring my message part of the definition is a url. So I am trying to declare a string like the following: String m = "<?xml version="1.0" encoding="UTF-

  • Bumper case beware

    Just got my bumper, although it's nice and helps a tad with the antenna. Now I have to go out and buy a new audio jack(the usual one doesn't fit with the bumper), oh, and the dock plug doesn't work with it either.

  • PO Workflow- multiple reminders

    Hi Gurus, Please help me with steps for below options in PO Workflow process. i) Need to find the option to disable multiple reminder nofitications for PO Approval. ii) Need to change timeout value for notices. Thanks in advance. gvk.