[SOLVED] Hostname always get set to localhost despite setting in...

Hi,
For some reason my hostname always get set to "localhost", but I want to have Arch for hostname.
My configuration:
[christer@localhost ~]$ cat /etc/hostname
#Hostname
Arch
[christer@localhost ~]$
[christer@localhost ~]$ cat /etc/hosts
# /etc/hosts: static lookup table for host names
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 Arch.localhost.localdomain localhost.localdomain localhost Arch
::1 Arch.localhost.localdomain localhost.localdomain localhost Arch
192.168.1.101 torr
192.168.1.111 bubba
192.168.1.102 fuel
# End of file
[christer@localhost ~]$
I use static IP assigned with netcfg.
[christer@localhost ~]$ cat /etc/network.d/eth0-static
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth0'
IP='static'
ADDR='192.168.1.100'
ROUTES=('192.168.0.0/24 via 192.168.1.1')
GATEWAY='192.168.1.1'
DNS=('192.168.1.1')
## For IPv6 autoconfiguration
IP6=stateless
## For IPv6 static address configuration
#IP6='static'
#ADDR6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#ROUTES6=('abcd::1234')
#GATEWAY6='1234:0:123::abcd'
[christer@localhost ~]$
[christer@localhost ~]$
In rc.conf I have.
DAEMONS=(hwclock syslog-ng net-profiles netfs crond dbus cupsd mpd mpdscribble autofs iptables munin-node)
Is it something in my /etc/hosts config thar missing so it defaults to localhost?
Any ide whay I do not ger "Arch" as hostname?
Best regards,
/Christer
Last edited by agkbill (2012-10-20 08:59:47)

The problem was the empty lines and comment in /etc/hostname.
I tried it back and forth and the problem was reproducible by adding the comment and empty lines in /etc/hostname again.
Thank you for helping me with this!
All the best,
Christer
PS:
In the wiki "Editing Configuring Network" I added:
/etc/hostname should not contain comments or empty lines.
Last edited by agkbill (2012-10-20 10:51:07)

Similar Messages

  • Picture duration longer than 4sec not possible? Always gets set to 10min instead.

    Hi,
    I am using iMovie 11 (9.0.4). At some point in my project, I want to show a single photo, but not for the default 4 seconds, but rather for 30 seconds. So I double-click on the clip and in Clip->Duration I try to change the 4,0s to something else.
    First thing which is stange is that I cannot simple set my cursor behind the 4 and hit backspace. Even entering something after the 4 (e.g. 42) is not possible. The only thing which I can do, is setting the cursor behind the 's' and delete everything. Only then am I able to actually enter something in this edit field. Well, I enter 30, but without the 's', because pressing the 's' key on the keyboard is again not possible. Strange? If I hit Enter, 30 get immediatley replaced by 10:00 and now my clip is 10 minutes long. No matter what I enter in this field, it always gets set to 10 minutes.
    Does anyone has a solution for this?

    You simply cannot - repeat cannot - go from one menu to another menu without breaking up the soundtrack. It is not possible under DVD-Video specifications. DVD-Video is graphically dominant, which means when you switch from one menu to another, or from a timeline to a menu, or from a menu to a timeline, the audio
    i must change to the next item's audio stream.
    There is no way around this.
    I have LOST season 1, and will check it out for you & get back to you later on.
    You CAN have continuous audio from the movie into when the highlight layer (subpicture) appears by delaying the appearance of the buttons. The whole thing then becomes one long Motion Menu, with delayed buttons. This can have one long audio stream. Clever timing will make it appear that Audio is seamless if it goes from Motion to Static. I will check this out on Season 1 though.
    Slideshows.
    Best way to do these is to not actually create a slideshow, but instead create a video timeline at a very low bitrate for the video. Set up your stills as & where you want them in relation to your Audio, in your NLE (Premiere Pro?) and export to a 3Mb/sec MPEG-2 clip instead. You may - depending on the pictures - get away with 2.5 or even 2Mb/sec.
    Chapters.
    What you want to do can only be done via scripting.
    Text.
    Subpicture overlays can contain a maximum of 4 colours, including background as colour #1. Blu Ray & HD DVD both get around this and increase the allowed colours in subpicture overlays. What this means to you is that you cannot use drop shadowing or anything other than primitive anti-aliasing. The best you can do is to set the main text colour as the base, and then use the 2 highlight colours at 66% & 33% respectively. It takes practise but can be quite effective.

  • When I used download sets of photos, movies etc, (before I installed Lion) I used always get a "Download" gizmo which showed me the download happening with both speed and time left.  Now with Lion, nothing shows on my screen.  Can I fix this?

    When I used download sets of photos, movies etc, (before I installed Lion) I used always get a "Download" gizmo which showed me the download happening with both speed and time left.  Now with Lion, nothing shows on my screen.  Can I fix this?

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • When I receive calls I always get the option to remind me later, but only certain times I get the option to respond with text.  Is there a setting I need to update to always get this option?

    When I receive calls I always get the option to remind me later, but only certain times I get the option to respond with text.  Is there a setting I need to update to always get this option?  Also i can't use location reminders.  Is this because my calendar is in Outlook?

    The only known way to make it work on an external drive is by first installing Windows onto an internal drive, then cloning the install to an external Thunderbolt drive. Thunderbolt is seen as an extension of the internal bus, so Windows doesn't see it as an external device.

  • I bught a new Time Capsule 2Tb. I connected it to my internet router. I manege to set it up as base station but when i try to use it with time machine I always get the message "Check your IP addres"? What am I doing wrong? On my computer I have OSX 10.7.5

    I bought a new Time Capsule 2Tb. I connected it to my internet router. I manage to set it up as base station but when i try to use it with time machine I always get the message "Check your IP addres"? What am I doing wrong? On my computer I have OSX 10.7.5

    What IP address does the TC have and what IP does the computer have?
    We need more info as we really have no idea what your network looks like.
    Modem router, model, type of broadband?
    TC setup as bridge or router?
    Is the computer getting internet via the TC?
    Are you using wireless or ethernet?
    Have you set IPv6 correctly to local link in the computer on whichever network client is doing the connection?
    Did this work the first time for backup and has now failed? If so simply reboot the TC. It is a constant bug that the TC is lost to the network.

  • Signed.applets.codebase_principal_support is set true but I always get error

    signed.applets.codebase_principal_support is set true but I always get error like Error: A script from «https://127.0.0.1:8080 <https://127.0.0.1:8080/> » was denied UniversalXPConnect privileges.
    On linux it works well.
    May be I need to change something else ?

    Possibly the consequence of this bug fix.
    *[https://bugzilla.mozilla.org/show_bug.cgi?id=546848 bug 546848] - Remove support for enablePrivilege
    <i>([https://bugzilla.mozilla.org/page.cgi?id=etiquette.html please do not comment in bug reports])</i>

  • My macbook pro won't play any youtube video. I always get a plug-in failure message! How can I solve it? I already did all updates, reinstalled flash player but nothing helps!

    My macbook pro won't play any youtube video. I always get a plug-in failure message! How can I solve it? I already did all updates, reinstalled flash player but nothing helps!

    1. System Preferences > Other/ Flash Player > Advanced >  Delete  All
         Press the "Delete All" button
         Install Adobe Flash Player.
        http://get.adobe.com/flashplayer/
        Follow the prompts.
        Quit Safari.
        Restart computer. Relaunch Safari.
    2.  Allow  Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.
        Press " Manage Website Settings" button for more options.

  • In solaris oracle env not getting set always i hv to compile .profile

    In solaris 10 intel version oracle ,listener everything is working but problem is in terminal for each session i hv to compile . .profile where is the exact problem ? why my profile is not getting set permanently.

    Dude wrote:
    Bash looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. (man page) In other words, it's not reading .profile if ./bash_profile or .bash_login exists. However, the OP might not be using bash.OK, I was wrong again, again, again today.
    I am going to quit while I am behind so as to not make it any worse.

  • Always getting errors when trying to control YOKOGAWA 7651 power supply on Labwindows/CVI

    Hi,
    I'm trying to set the voltage on the YOKOGAWA 7651 power supply through labwindows/cvi. I've set up a numeric slide on my userinterface with callback function "yoko7651dcvolts" and constant name "YOKO7651DCVOLTS".
    I always get this error when I run my program:
    "FATAL RUN-TIME ERROR: "DcSource.c", line 53, col 65, thread id 0x00001F3C: Invalid argument type: found 'pointer to double', expected 'pointer to int'."
    This error points to the third argument of the GetCtrlVal function below. The program/compiler wants me pass the variable "yoko1volts" as integer, but I want to (and should) be able to set voltages as floating numbers.
    Plus, even when I declare "yoko1volts" as integer, it stills doesn't work. All I get is zero, zero, and zero...on the power supply meter everytime I press the numeric slide.
    This is the section of the C code that is problemic:
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    This is the related h-file:
    #define YOKO7651_1 4
    #define YOKO7651_1_YOKO7651SWITCH 2 /* control type: binary, callback function: yoko7651switch */
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    Please help, how can I fix this issue?
    All the drivers (including the YOKOGAWA 7651 power supply) are properly installed and mounted. As a matter of fact, I can successfully turn the power supply on and off with the code below:
    int CVICALLBACK yoko7651switch (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    int yoko7651switchstate;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, &yoko7651switchstate);
    SetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651SWITCH, !yoko7651switchstate);
    yk7651_output (yoko76511Panel, !yoko7651switchstate);
    break;
    return 0;
    It's just setting the voltage on the power supply that is very problematic. Any help is appreciated...Thanks.
    Solved!
    Go to Solution.

    I second Al opinion of a disconnection between the UIR and the variable that holds the panel handle.
    As a side note, I noted that the problematic line is reading the value of the controll whose callback is executed:
    #define YOKO7651_1_YOKO7651DCVOLTS 3 /* control type: scale, callback function: yoko7651dcvolts */
    int CVICALLBACK yoko7651dcvolts (int panel, int control, int event,
    void *callbackData, int eventData1, int eventData2)
    double yoko1volts;
    switch (event)
    case EVENT_COMMIT:
    GetCtrlVal (yoko76511Panel, YOKO7651_1_YOKO7651DCVOLTS, &yoko1volts); // to read the values entered on the numerical meter on the user interface
    yk7651_set_volts (yoko76511Panel, yoko1volts); // set the entered values as voltage on the instrument
    break;
    return 0;
    In a situation like this, I would try using GetCtrlVal (panel, control, &yoko1volts); instead, that should get rid of all problems in panel handle / control ID.
    Despite this solution is working, in any case I would deep into the problem as an incorrect panel handle can lead to erratical behaviour in other places of the program.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • If I click on an e-mail address link in a web page instead of a blank message opening I always get a pop up screen with a log-in for googlemail. I do not have and do not want a googlemail account. I just want to be able to send e-mails using Outlook.

    If I click on an e-mail address link in a web page instead of a blank message opening I always get a pop up screen with a log-in for googlemail. I do not have and do not want a googlemail account. I just want to be able to send e-mails using Outlook.

    OUtlook was already set as the mail client for FF, and is my operating system (XP)'s default mail programme. therefore problem not solved at all. what I get whenever I follow a link in a webpage to send an e-mail is a little pop up window asking me to sign in to gmail or open an account. any other suggestions?

  • [ Solved ] Issue with Partitioning (setting the boot flag)

    I've tried to install Arch a few times. I always seem to run into this issue which affects me later on.
    fdisk (fdisk /dev/sda) doesn't provide me with the ability to set the boot flag on any of the partitions. Therefore I have issues when I get to the bootloader bit. (intend to use grub)
    When I use cfdisk (cfdisk /dev/sda), while its help does say pressing 'b' will toggle the flag, in all images I've seen of what cfdisk should look like there has been a column marked 'Flags'  - that isn't present for me. So, I have no way of knowing if it actually gets set, though I doubt it does.
    Partition Table is GPT.
    Though,
    fdisk -l gives
    Disk /dev/sda ~465.8 GiB
    Disk /dev/loop0 ~278.2 MiB //Not entirely sure what loop0 and loop1 are...
    Disk /dev/loop1 ~32 GiB
    Disk /dev/mapper... //the live image.
    I'm probably just making a simple mistake - though I have no idea what. Help?
    (Ruling out other errors, using latest dual architecture image, (using 86_64 UEFI) on this system; Asus X99 Pro, Core  i7 5820k, 16GB RAM, ~500GB SSD, generic video card).
    Last edited by AndyWM (2015-06-10 17:21:20)

    It's okay - I just decided to follow the beginner's guide again. It recommend the use of parted for GPT  when using UEFI. So I just did that,  I also went for gummiboot as the bootloader. Never used it before, but it seems to do the job...
    Did forget to create a user though, so I'll have to log in as root and do that.
    Anyway, I'll mark this as solved.

  • [SOLVED] Can't get printer to work

    Hi.  I followed the wiki on how to set up cups and add a printer.  But it's not working.  Here is the result of
    [paco@archnme ~]$ tail -n 100 -f /var/log/cups/error_log
    E [06/Jun/2011:19:56:35 -0400] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [06/Jun/2011:19:58:53 -0400] [CGI] Unable to create avahi client: Resource temporarily unavailable
    E [06/Jun/2011:19:58:53 -0400] [cups-deviced] PID 9453 (dnssd) stopped with status 1!
    E [06/Jun/2011:20:03:29 -0400] [CGI] Unable to create avahi client: Resource temporarily unavailable
    E [06/Jun/2011:20:03:29 -0400] [cups-deviced] PID 9492 (dnssd) stopped with status 1!
    E [06/Jun/2011:20:06:38 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:06:38 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:06:38 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:11:33 -0400] [Job 1] Stopping unresponsive job!
    E [06/Jun/2011:20:14:13 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:14:13 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:14:13 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:15:07 -0400] [CGI] Unable to create avahi client: Resource temporarily unavailable
    E [06/Jun/2011:20:15:07 -0400] [cups-deviced] PID 9656 (dnssd) stopped with status 1!
    E [06/Jun/2011:20:31:10 -0400] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    and here is my /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost archnme
    ::1 localhost.localdomain localhost archnme
    # End of file
    Here is /etc/cups/cupsd.conf
    # "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $"
    # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
    # complete description of this file.
    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn
    # Administrator user group...
    SystemGroup sys root
    # Only listen for connections from the local machine.
    Listen localhost:631
    #Listen archnme:631
    Listen /var/run/cups/cups.sock
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseLocalProtocols CUPS dnssd
    # Default authentication type, when authentication is required...
    DefaultAuthType Basic
    # Restrict access to the server...
    <Location />
    Order allow,deny
    </Location>
    # Restrict access to the admin pages...
    <Location /admin>
    Order allow,deny
    </Location>
    # Restrict access to configuration files...
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    </Location>
    # Set the default printer/job policies...
    <Policy default>
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # Set the authenticated printer/job policies...
    <Policy authenticated>
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # End of "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $".
    Last edited by Pacopag (2011-06-07 14:35:48)

    It works now.  I'm not 100% sure what fixed it, but my guess is that it was blacklisting usblp
    Here are the steps.
    delete the printer using cups if it is already installed (this is what I didn't do at first, and what caused me to waste a couple hours screwing with other config files).
    open /etc/modprobe.d/modprobe.conf and add this line to it: blacklist usblp
    reboot.
    add the printer using CUPS  (this time "Local Printers" showed my Canon MP730 as an option)
    Cheers,

  • One Application deployed OK;  my app always gets error "404 Not Found"...

    I am trying deploying my application from within JDeveloper 10.1.3.4 to the standalone oc4j on the localhost, before deploying it on an application server. I am a newbie and I am doing this by following a tutorial. The tutorial application is deployed fine, but my application always gets the "404 Not Found" error after deployment.
    The standalone oc4j is set up on my Windows XP PC by running the <jdev_home>\jdev\bin\start_oc4j.bat file, and works fine because the tutorial application is deployed and runs fine.
    For the tutorial application, deployment is the last chapter (Chapter 10). I started from the nearly completed tutorial application from the end of Chapter 9, and went throug all the steps in Chapter 10 and the application is deployed and invoked successfully.
    My application starts with the login.jspx page. The applilcation runs perfectly when invoked directly within JDeveloper by right-clicking login.jspx and selecting Run. But when going through the same steps as with the tutorial application, my application always gets "404 Not Found" in the browser.
    The steps of deployment are:
    1. Right-click the ViewController project, select New and then Deployment Profiles/WAR File, to create the deployment profile. When creating this profile, I entered "ZBV" as the custom root context.
    2. Right-click the deployment profile (ZBV.deploy), and "Deploy To..." the standalone oc4j on the localhost, and accept the default configuration. The messages in the log window in JDeveloper are all clean without error.
    3. Open a browser, enter the url "http://localhost:8888/ZBV/faces/staff/login.jspx and get "404 Not Found". I have undeployed and gone through the same steps several times and always got the same error. I use /staff/login.jspx after ZBV/faces because in the Application Navigator, the login.jspx file is located in the ViewController/Web Content/staff folder.
    I wonder what could be wrong with my application. In the tutorial it is said that both an .ear file and a .war will be created but only the .war file needs to be created because of the dependency of the ViewController project on the DataModel project set in the application. My application has this dependency set therefore I went throug the same steps as with deploying the tutorial application.
    I hope the experienced and experts and gurus will shed light on me with their experience and wisdom.
    Many thanks!
    Newman

    Hi, Shay,
    You are right. I checked the log and found one notification message:
    Unable to dispatch JSP Page : Exception:java.io.FileNotFoundException: /staff/Login.jspx
    The capital L is a typo when creating the page file. During development you never need to type the file name but just click, and I always thought it was login.jspx. When that is corrected in the url string, the application is invoked and runs as it should. The one letter drove myself crazy for a whole day.
    Sorry and thanks! And to Dom too!
    Regards,
    Newman

  • Always get disconnected?

    I have a macbook and i am using a linksys system N wireless router. Its 2 feet away. Now the problem i am having is i am always getting disconnected at night from everything. I will be on yahoo instant messenger, aol instant messenger and the enternet and all of a sudden it will disconnect me but it wont let me know. The way i find out is that none of my friends reply to what i sent them and i cannot access anything online. Is there something that i can do to stop this? This just started happening? What can i buy to fix this or what should i do. Thax so much for any help Thax.

    Linksys has some problems with it and connection mostly because there are so many people that have them. I had the same problem you're having. The reason it's a problem for other people to have them is that they have a specific IP address on the router, but most of their routers have the same thing. You're computer will be surfing along and if it gets even a hint of the same IP from another router, it will accidentally hook on to that one, and drop your connection. The way to solve this is to put a password on your router. In safari, type in at the top http://192.168.1.x and with x it's either going to be 0, 1, or 2. If it asks for a password, the default password is ADMIN and there is no user name. If it doesnt ask for a password, just try one of the other numbers for x. Go into the wireless settings in there. Go into Wireless security from there and set it to WPA personal. Set a password for it and then save all the settings. Try it again from your mac. Having a password encryption on the connection usually solves the dropped connection problem. When you are doing all the router work though, it's best if you plug you computer directly into the router if possible. Hope this helps!

  • SOLVED: Hostname not on domain

    Hey, I've set up the following, but cannot get my hostname to get on the network. If I use the hostname command it comes up as set, but if I try to ping the hostname on a different network machine it does not resolve. I've got the following:
    rc.conf:
    HOSTNAME="ma"
    /etc/resolv.conf:
    domain XXXXXX.com
    search lol.XXXXXX.com private.XXXXXX.com XXXXXX.com
    nameserver 172.20.2.10
    /etc/hosts
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost myhost ma ma.lol.XXXXXX.com
    Last edited by beatbreaker (2011-11-03 04:50:35)

    beatbreaker wrote:If you're referring to DNS (like this? https://wiki.archlinux.org/index.php/DNS_with_bind ?) then I don't see how that will work.
    Yes, that is correct.
    beatbreaker wrote:My network already has a DNS, it works for every other machine on this network apart from the arch machine.
    Are you already running bind internally for lol.XXXXXX.com private.XXXXXX.com and/or XXXXXX.com?
    What are the other machines? If they are Windows or Mac's, then they may be using NetBIOS / WINS / mDNS (I'm not fully up to speed on the latest Windows/Apple name resolution systems) to resolve each other.
    All you've done at the moment is tell your computer what it is called; now you have to find a way to "announce" (or otherwise inform) the rest of the world (whether that is the whole internet, or just your LAN) what it is called. The normal (heterogeneous) way to do this is using DNS.
    Last edited by fukawi2 (2011-10-10 07:13:13)

Maybe you are looking for